Messages in this thread | | | Subject | Re: [patch] minimum buffer hash size set to 128k (even on 4mbyte machines) | Date | Fri, 29 Oct 1999 18:05:20 +0100 (BST) | From | Alan Cox <> |
| |
> have only 4mbyte of memory. So 2.2.13 (and 2.2.14pre2) using a order of 5 > is wasting lots of precious memory in low mem boxes.
[2.2.13ac not 2.2.13]
> --- 2.2.14pre2/fs/buffer.c Fri Oct 29 16:40:41 1999 > +++ /tmp/buffer.c Fri Oct 29 18:20:12 1999 > @@ -1512,7 +1512,7 @@ > fsync times (ext2) manageable, is the following */ > > memory_size >>= 20; > - for (order = 5; (1UL << order) < memory_size; order++); > + for (order = 0; (1UL << order) < memory_size; order++); > > /* try to allocate something until we get it or we're asking > for something that is really too small */
Ok
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |