Re: 2.2.x series and mm

From: Alan Cox (
Date: Wed Jun 27 2001 - 11:27:11 EST

> I'm fairly sure it is the file buffers as the apache is already
> reniced to 20, it is got max 50 processes and each of processes is
> limited to like 1.5mb of size via ulimit.

nice wont help you, it controls scheduling priority. Similar a ulimit just
ensures that no apache process goes mad and eats lots of memory (good idea
but not helpful here). If your working set (and thats the bit the matters)
really is exceeding memory by a fair bit then

a) Add more RAM - that is the real optimal approach
b) Make the processes smaller (eg switch to thttpd from
c) Speed up the I/O throughput relative to CPU speed
        - eg the 2.2 IDE UDMA patches

2.2.19+ do make slightly better decisions on the VM front, but at the end of
the day swapping only works usefully when the working set still fits in
RAM (ie all the stuff you keep needing).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:16 EST