On 07/11/2010 09:10 AM, Robert G. (Doc) Savage wrote:
> I've been running Fedora on my old Thinkpad A22p (P-III/M w/512MB)
> since FC4 or before, upgrading from one version to the next using the
> same partition sizes. For F13 I increased the size of /boot, but kept
> swap at 1GB:
>
> # fdisk -l /dev/sda
>
> Disk /dev/sda: 120.0 GB, 120034123776 bytes
> 255 heads, 63 sectors/track, 14593 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x000304c6
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 64 512000 83 Linux
> Partition 1 does not end on cylinder boundary.
> /dev/sda2 64 14463 115658752 83 Linux
> /dev/sda3 14463 14594 1048576 82 Linux swap / Solaris
>
> The last couple of releases have run agonizingly slowly with very high
> load averages (between 2.x and 10.x).
>
> I just read
> http://docs.fedoraproject.org/en-US/Fedora/13/html/Installation_Guide/s2-diskpartrecommend-x86.html
> which recommends a minimum of 2GB swap size for memory sizes up to
> 4GB. I've been using 2x RAM for swap size ever since the 2.6 kernel
> was introduced. At the moment (running 'yumex') 'top' indicates:
>
> top - 10:43:15 up 2 days, 6 min, 5 users, load average: 8.62, 6.84, 6.26
> Tasks: 244 total, 7 running, 237 sleeping, 0 stopped, 0 zombie
> Cpu(s): 60.7%us, 23.5%sy, 9.2%ni, 0.0%id, 0.0%wa, 5.4%hi, 1.3%si, 0.0%st
> Mem: 509800k total, 502624k used, 7176k free, 16280k buffers
> Swap: 1048568k total, 317372k used, 731196k free, 101944k cached
>
> This indicates only about 30% of my 1GB swap is being used. Would
> increasing that to 2GB have any affect on the load average performance?
>
> --Doc Savage
> Fairview Heights, IL
With only half a gig of ram, you will end up thrashing like crazy.
Of course you will have a high load factor.
How about putting in it the maximum amount of ram the notebook can handle.
Ram is cheap now!
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
07-11-2010, 04:10 PM
"Robert G. (Doc) Savage"
Q about swap size
I've been running Fedora on my old Thinkpad A22p (P-III/M w/512MB) since FC4 or before, upgrading from one version to the next using the same partition sizes. For F13 I increased the size of /boot, but kept swap at 1GB:
** Device Boot***** Start******** End***** Blocks** Id* System
/dev/sda1** *********** 1********* 64***** 512000** 83* Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2************* 64****** 14463** 115658752** 83* Linux
/dev/sda3********** 14463****** 14594**** 1048576** 82* Linux swap / Solaris
The last couple of releases have run agonizingly slowly with very high load averages (between 2.x and 10.x).
I just read http://docs.fedoraproject.org/en-US/Fedora/13/html/Installation_Guide/s2-diskpartrecommend-x86.html
which recommends a minimum of 2GB swap size for memory sizes up to 4GB. I've been using 2x RAM for swap size ever since the 2.6 kernel was introduced. At the moment (running 'yumex') 'top' indicates:
This indicates only about 30% of my 1GB swap is being used. Would increasing that to 2GB have any affect on the load average performance?
--Doc Savage
* Fairview Heights, IL
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
07-11-2010, 04:23 PM
Roberto Ragusa
Q about swap size
Robert G. (Doc) Savage wrote:
> top - 10:43:15 up 2 days, 6 min, 5 users, load average: 8.62, 6.84, 6.26
> Tasks: 244 total, 7 running, 237 sleeping, 0 stopped, 0 zombie
> Cpu(s): 60.7%us, 23.5%sy, 9.2%ni, 0.0%id, 0.0%wa, 5.4%hi, 1.3%si, 0.0%st
> Mem: 509800k total, 502624k used, 7176k free, 16280k buffers
> Swap: 1048568k total, 317372k used, 731196k free, 101944k cached
>
> This indicates only about 30% of my 1GB swap is being used. Would
> increasing that to 2GB have any affect on the load average performance?
I think not.
The machine is probably too memory starved to give you reasonable performance.
Try running
vmstat 1
for a while and look the si and so (swapin, swapout) columns.
If there is constant swapping activity, the load you are putting on the
machine is too much for the available resources.
Having 1 or 2 GiB of swap will not change anything, as you are
actually using about 300MiB.
Hmmm.....
now that I re-read your top output, the machine appears to have a
busy CPU (0% waiting and around 100% of usage). Maybe it is not
the RAM to slow it down (the kernel manages to have 100MiB used for cache,
so it is not critically desperate for RAM). What is this machine running?
--
Roberto Ragusa mail at robertoragusa.it
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
07-11-2010, 04:28 PM
Patrick O'Callaghan
Q about swap size
On Sun, 2010-07-11 at 11:10 -0500, Robert G. (Doc) Savage wrote:
> This indicates only about 30% of my 1GB swap is being used. Would
> increasing that to 2GB have any affect on the load average
> performance?
If you have enough, you have enough. If you don't, your system will run
out of memory. That's not a performance issue.
poc
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
07-11-2010, 05:11 PM
Patrick Bartek
Q about swap size
--- On Sun, 7/11/10, Robert G. (Doc) Savage <dsavage@peaknet.net> wrote:
> I've been running Fedora on my old Thinkpad A22p (P-III/M w/512MB)
> since FC4 or before, upgrading from one version to the next using the
> same partition sizes. For F13 I increased the size of /boot, but kept
> swap at 1GB:
>
> # fdisk -l /dev/sda
> [snip]
>
>
> The last couple of releases have run agonizingly slowly with very high
> load averages (between 2.x and 10.x).
>
> I just read http://docs.fedoraproject.org/en-US/Fedora/13/html
> /Installation_Guide/s2-diskpartrecommend-x86.html
>
> which recommends a minimum of 2GB swap size for memory sizes up to 4GB.
> I've been using 2x RAM for swap size ever since the 2.6 kernel was
> introduced. At the moment (running 'yumex') 'top' indicates:
>
> [snip]
You need more RAM, not more swap. 512MB is not enough. That's why the last few releases have been running progressively slower: They're running out of RAM and hitting the swap. If you can upgrade to 1 or, better, 2 or more GB RAM, your system will run much faster and won't need the swap as much.
My system (Athlon64 X2 2.7GB, 512MB swap--that's right MB!, F12-64-bit) has 4GB RAM and rarely uses the swap.
B
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines