Messages in this thread | | | Date | Sun, 27 Feb 2005 18:32:22 -0500 (EST) | From | Rik van Riel <> | Subject | Re: Slowdown on high-load machines with 3000 sockets |
| |
On Sun, 27 Feb 2005, Christian Schmid wrote:
> > Christian, how big are the data blocks you sys_readahead, and > > how many do you have outstanding at a time ? > > I am reading 800000 bytes of data as soon as there is less than 200000 > data in the cache. I do assume the cache doesnt kill itself. I have 8 GB > machine with 7,5 GB free for caching.
OK, so you read 800kB with 4000 threads, or 3.2GB of readahead data. The inactive list is quite possibly smaller than that, at 1/3 of memory or around 2.6 GB.
It looks like the cache might be killing itself, through readahead thrashing.
-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |