> Contrived thing and all, but what it does do is show exactly how bad seeking > all over swap-space is. If you push it out before hitting enter, the time it > takes easily grows past 10 minutes (with my 768M) versus sub-second (!) when > it's all in to start with. Think in "operations/second" and you get a better view of the disk. > What are the tradeoffs here? What wants small chunks? Also, as far as I'm > aware Linux does not do things like up the granularity when it notices it's > swapping in heavily? That sounds sort of promising... Small chunks means you get better efficiency of memory use - large chunks mean you may well page in a lot more than you needed to each time (and cause more paging in turn). Your disk would prefer you fed it big linear I/O's - 512KB would probably be my first guess at tuning a large box under load for paging chunk size. More radically if anyone wants to do real researchy type work - how about log structured swap with a cleaner ? Alan - 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/
- Follow-Ups:
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- From: Rene Herman <rene.herman@gmail.com>
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- References:
- Re: -mm merge plans for 2.6.23
- From: "Jesper Juhl" <jesper.juhl@gmail.com>
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- From: Andrew Morton <akpm@linux-foundation.org>
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- From: Mike Galbraith <efault@gmx.de>
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- From: Daniel Hazelton <dhazelton@enter.net>
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- From: Rene Herman <rene.herman@gmail.com>
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- From: david@lang.hm
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- From: Rene Herman <rene.herman@gmail.com>
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- From: david@lang.hm
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- From: Rene Herman <rene.herman@gmail.com>
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- From: Alan Cox <alan@lxorguk.ukuu.org.uk>
- Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- From: Rene Herman <rene.herman@gmail.com>
- Re: -mm merge plans for 2.6.23
- Prev by Date: Re: RFC: Remove the arm26 port
- Next by Date: Re: 2.6.23-rc1, KVM-AMD problem
- Previous by thread: Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- Next by thread: Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
- Index(es):
![]() |