Re: [gentoo-user] Swap performance

2011-05-26 Thread Sebastian Beßler
Am 25.05.2011 22:07, schrieb Alan McKinnon: I'd be interested to hear any current use cases where swap delivers a provable benefit. I need swap to build openoffice/libreoffice, my 8GB of RAM are not sufficient all the time for the tmpfs of /var/tmp/portage when building that. But aside of

Re: [gentoo-user] Swap performance

2011-05-26 Thread Volker Armin Hemmann
On Thursday 26 May 2011 00:40:21 Alex Schuster wrote: Paul Hartman writes: On Wed, May 25, 2011 at 9:20 AM, Alex Schuster wo...@wonkology.org wrote: I can't remember the last time my swap was used at all. I have 12G of RAM, but in my prior system with 8G it was the same. Only in a rare

Re: [gentoo-user] Swap performance

2011-05-26 Thread Alex Schuster
Volker Armin Hemmann writes: On Thursday 26 May 2011 00:40:21 Alex Schuster wrote: Paul Hartman writes: On Wed, May 25, 2011 at 9:20 AM, Alex Schuster wo...@wonkology.org wrote: Maybe I should have bought 4G instead of 2G, so I'd have 10G, not 8G. I'm not sure if this is recommended

Re: [gentoo-user] Swap performance

2011-05-26 Thread Mick
On Wednesday 25 May 2011 17:49:29 Alan McKinnon wrote: Apparently, though unproven, at 16:20 on Wednesday 25 May 2011, Alex Schuster did opine thusly: Oh, even weirder: The phone just rang, and five minutes later, swap has gone to 860M. I was running rdiff-backup --list-increment-sizes,

[gentoo-user] Swap performance

2011-05-25 Thread Alex Schuster
Hi there! I still wonder why my KDE4 system starts swapping so early. Until a week ago, I had 6G of RAM, but after a day of being logged in, I usually had some swap usage. Sometimes this goes up to 1.5G, this is when the system becomes way too slow and I log out. Normally I don't mind having

Re: [gentoo-user] Swap performance

2011-05-25 Thread Paul Hartman
On Wed, May 25, 2011 at 9:20 AM, Alex Schuster wo...@wonkology.org wrote: Hi there! I still wonder why my KDE4 system starts swapping so early. Until a week ago, I had 6G of RAM, but after a day of being logged in, I usually had some swap usage. Sometimes this goes up to 1.5G, this is when

Re: [gentoo-user] Swap performance

2011-05-25 Thread Alan McKinnon
Apparently, though unproven, at 16:20 on Wednesday 25 May 2011, Alex Schuster did opine thusly: Oh, even weirder: The phone just rang, and five minutes later, swap has gone to 860M. I was running rdiff-backup --list-increment-sizes, maybe this uses much memory, and caches the stuff. Now the

Re: [gentoo-user] Swap performance

2011-05-25 Thread Volker Armin Hemmann
On Wednesday 25 May 2011 16:20:58 Alex Schuster wrote: So, 27 minutes to put 885MB of swap back into RAM, with the double amount of that being free RAM. I monitored with iotop, and the transfer rate started around 60-100 K/s, later it went higher. But the average transfer rate is 550K/s.

Re: [gentoo-user] Swap performance

2011-05-25 Thread Volker Armin Hemmann
On Wednesday 25 May 2011 10:31:19 Paul Hartman wrote: When I move the swap to a slow SD card instead (2MB/sec transfer rate), even in that slow device, swapoff on the eMMC swap partition with ~500M in-use takes about 2 or 3 minutes at most with the data being swapped slowly into the SD card.

Re: [gentoo-user] Swap performance

2011-05-25 Thread Paul Hartman
On Wed, May 25, 2011 at 11:58 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Wednesday 25 May 2011 10:31:19 Paul Hartman wrote: When I move the swap to a slow SD card instead (2MB/sec transfer rate), even in that slow device, swapoff on the eMMC swap partition with ~500M in-use

Re: [gentoo-user] Swap performance

2011-05-25 Thread Alan McKinnon
Apparently, though unproven, at 18:53 on Wednesday 25 May 2011, Volker Armin Hemmann did opine thusly: On Wednesday 25 May 2011 16:20:58 Alex Schuster wrote: So, 27 minutes to put 885MB of swap back into RAM, with the double amount of that being free RAM. I monitored with iotop, and the

Re: [gentoo-user] Swap performance

2011-05-25 Thread Alan McKinnon
Apparently, though unproven, at 18:58 on Wednesday 25 May 2011, Volker Armin Hemmann did opine thusly: On Wednesday 25 May 2011 10:31:19 Paul Hartman wrote: When I move the swap to a slow SD card instead (2MB/sec transfer rate), even in that slow device, swapoff on the eMMC swap partition

Re: [gentoo-user] Swap performance

2011-05-25 Thread Alex Schuster
Alan McKinnon writes: That reminds me of how SSDs ought to be much faster than hard disks. But every time I use my Acer netbook (8G SSD) I curse and swear and commit random acts of violence - that first gen SSD controller is the worst possible thing to ever hit computers. I swear the 4G

Re: [gentoo-user] Swap performance

2011-05-25 Thread Alex Schuster
Volker Armin Hemmann writes: On Wednesday 25 May 2011 16:20:58 Alex Schuster wrote: So, 27 minutes to put 885MB of swap back into RAM, with the double amount of that being free RAM. I monitored with iotop, and the transfer rate started around 60-100 K/s, later it went higher. But the

Re: [gentoo-user] Swap performance

2011-05-25 Thread Alex Schuster
Paul Hartman writes: On Wed, May 25, 2011 at 9:20 AM, Alex Schuster wo...@wonkology.org wrote: I can't remember the last time my swap was used at all. I have 12G of RAM, but in my prior system with 8G it was the same. Only in a rare case when some program had run-away memory usage/memory