From 2d8d11cfad482b0f5cde34359bec89ed2547f5be Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 17 Feb 2004 23:31:25 +0000 Subject: [PATCH] Increase the number of request buffers to 4096 from 1024 for a 4GB machine so we can remove max_rpcs_in_flight workaround on ALC. b=2729 --- lustre/include/linux/lustre_net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/linux/lustre_net.h b/lustre/include/linux/lustre_net.h index 03a011a..8a0b3f0 100644 --- a/lustre/include/linux/lustre_net.h +++ b/lustre/include/linux/lustre_net.h @@ -102,7 +102,7 @@ * - 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 -- 1.8.3.1