default partition sizes on Ubuntu 8.04
default partition sizes on Ubuntu 8.04
Hi,
just a small question: can someone post the default swap partition sizes on Ubuntu 8.04 both x64 and x86. Does the swap partition size vary depending on machine specs (provided the same OS installed)?
Marin
just a small question: can someone post the default swap partition sizes on Ubuntu 8.04 both x64 and x86. Does the swap partition size vary depending on machine specs (provided the same OS installed)?
Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)
Re: default partition sizes on Ubuntu 8.04
Yes.Marin85 wrote:Does the swap partition size vary depending on machine specs (provided the same OS installed)?
Thanks. I guess this answers both questions 
Marin
Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)
To some extent, the answer "Yes" is correct. There is a point beyond which more swap is a waste of space.
The old rule of thumb is 2X RAM. But when modern machines have multi-GB RAM, that thumb needs to go out the window. A new rule might be no less than 512MB, and more only if you are doing extraordinary things such a CAD, photo editing, and the like. ANd for light use with multi-GB RAM, no swap is fine.
So it's not so much machine specs as it is machine utility. 512MB is pretty good target for most mortals.
AT present, my top output looks like this with about 500MB of swap:
The old rule of thumb is 2X RAM. But when modern machines have multi-GB RAM, that thumb needs to go out the window. A new rule might be no less than 512MB, and more only if you are doing extraordinary things such a CAD, photo editing, and the like. ANd for light use with multi-GB RAM, no swap is fine.
So it's not so much machine specs as it is machine utility. 512MB is pretty good target for most mortals.
AT present, my top output looks like this with about 500MB of swap:
Code: Select all
Tasks: 117 total, 3 running, 114 sleeping, 0 stopped, 0 zombie
Cpu(s): 7.2%us, 2.6%sy, 0.0%ni, 90.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 385792k total, 379040k used, 6752k free, 12728k buffers
Swap: 498004k total, 34700k used, 463304k free, 178980k cachedI feel more like I do now than I did when I got here.
Registered Linux User #270832
Registered Linux User #270832
Thanks a lot for your replies! Very helpful indeed!
Marin
Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)
I don't think so. If you have enough RAM, a lot of it is used for buffers and cache, which doesn't need to be saved in hibernation.gongo2k1 wrote:remember, if you want hibernation to work, swap should be at least equal to your ram. in general though, there's not much point since standby is faster and doesn't take a whole lot of power.
Hibernate is useful if you have to dual-boot into windows.
AFAIK, there is nothing special about having the same swap space as RAM.
Whether it is bigger or smaller, if your memory use (excluding buffers and cache)
is bigger than swap, hibernation will fail. Actual physical RAM size is irrelevant.
So whether you have 1GB or 3GB of RAM, 2GB of swap is probably plenty.
As for your example of opening a 3GB image, thats no a problem. It is either read a bit at a time, or mmap()ed. In the latter case, its just loaded to cache as needed, and never gets written to swap.
(stddisclaim: correct me if wrong)
Whether it is bigger or smaller, if your memory use (excluding buffers and cache)
is bigger than swap, hibernation will fail. Actual physical RAM size is irrelevant.
So whether you have 1GB or 3GB of RAM, 2GB of swap is probably plenty.
As for your example of opening a 3GB image, thats no a problem. It is either read a bit at a time, or mmap()ed. In the latter case, its just loaded to cache as needed, and never gets written to swap.
(stddisclaim: correct me if wrong)
-
- Similar Topics
- Replies
- Views
- Last post
-
-
My current Thinkpad collection (Large Pic sizes)
by Whitieiii » Wed Jan 25, 2017 7:26 pm » in Pictures of your ThinkPad & desk setup - 12 Replies
- 1456 Views
-
Last post by Whitieiii
Thu Feb 16, 2017 7:48 pm
-
-
-
Analog (VGA) external monitor as default screen on W530
by FryPpy » Sat Apr 22, 2017 4:36 pm » in ThinkPad W530 and later Series - 0 Replies
- 143 Views
-
Last post by FryPpy
Sat Apr 22, 2017 4:36 pm
-
-
-
The Newest GPD Pocket with Z8750 CPU Windows 10 System or Ubuntu 16.04
by laozhu » Thu Jan 12, 2017 5:02 am » in Off-Topic Stuff - 12 Replies
- 1435 Views
-
Last post by QWERTY Andreas
Wed Feb 15, 2017 3:52 am
-
-
-
How to improve audio on a Thinkpad T530 under Ubuntu?
by wrybread » Sun Mar 05, 2017 2:14 am » in Linux Questions - 1 Replies
- 1193 Views
-
Last post by wrybread
Fri Apr 07, 2017 5:38 pm
-
Who is online
Users browsing this forum: No registered users and 1 guest





