Whamcloud - gitweb
Increase the number of request buffers to 4096 from 1024 for a 4GB machine
authoradilger <adilger>
Tue, 17 Feb 2004 23:31:25 +0000 (23:31 +0000)
committeradilger <adilger>
Tue, 17 Feb 2004 23:31:25 +0000 (23:31 +0000)
so we can remove max_rpcs_in_flight workaround on ALC.
b=2729

lustre/include/linux/lustre_net.h

index 03a011a..8a0b3f0 100644 (file)
  * - OST_MAXREQSIZE must be at least 1 page of cookies plus some spillover
  */
 #define OST_MAXREQSIZE  (5 * 1024)
-#define OST_MAXMEM      (num_physpages*(PAGE_SIZE/512))
+#define OST_MAXMEM      (num_physpages*(PAGE_SIZE/128))
 #define OST_NBUFS       min(OST_MAXMEM/OST_BUFSIZE, OST_NBUF_MAX)
 
 #define PTLBD_NUM_THREADS        4