LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 12-10-2013, 05:36 PM   #1
cxiii
Member
 
Registered: Apr 2004
Posts: 37

Rep: Reputation: 15
SSD Partitioning OpenSuse 13.1


I accepted the default partitioning scheme for OpenSuse 13.1 on my Crucial 120GB SSD...

/swap 2GB
/ 20GB
/home 80GB

I have 8GB of memory so I have no idea why it only assigned 2GB of swap, I thought it have to be double the amount of RAM. Also, would this be enough room for updates on the root partition? Only 20GB?

I was wondering if it would be better to just make one big partition for /root and a swap partition? Or should I just leave it as it is.

Thanks
Bill
 
Old 12-10-2013, 05:50 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,944

Rep: Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797
Quote:
Originally Posted by cxiii View Post
I have 8GB of memory so I have no idea why it only assigned 2GB of swap, I thought it have to be double the amount of RAM.
Double the amount of RAM was always a rule of thumb that wasn't very useful; for any given workload, the more RAM you have, the less swap you need, which should be enough to cast doubt on that rule of thumb.

In most use cases, with 8G of RAM, 2G is probably a very reasonable amount of swap or more than is necessary, although you can probably find use cases in which it is sub-optimal (say, enormous CFD simulations, or something).

So, how much swap are you actually using?

Quote:
I was wondering if it would be better to just make one big partition for /root and a swap partition? Or should I just leave it as it is.
Leave it. there will be a benefit at the next upgrade or install.
 
Old 12-10-2013, 06:47 PM   #3
cxiii
Member
 
Registered: Apr 2004
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by salasi View Post
So, how much swap are you actually using?
In the KInfocenter it says Free Swap %100. I also did a Top command, here's the results...

top - 07:43:59 up 22 min, 3 users, load average: 0.07, 0.40, 0.49
Tasks: 183 total, 3 running, 180 sleeping, 0 stopped, 0 zombie
%Cpu(s): 3.7 us, 1.2 sy, 0.0 ni, 95.1 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 8152660 total, 3098312 used, 5054348 free, 64804 buffers
KiB Swap: 2103292 total, 0 used, 2103292 free, 2325424 cached


Also I installed all of the updates and did the command df -h, the results are ...

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 20G 4.5G 15G 25% /
devtmpfs 3.9G 40K 3.9G 1% /dev
tmpfs 3.9G 84K 3.9G 1% /dev/shm
tmpfs 3.9G 5.3M 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 3.9G 5.3M 3.9G 1% /var/run
tmpfs 3.9G 5.3M 3.9G 1% /var/lock
/dev/sda3 89G 104M 88G 1% /home


Bill
 
Old 12-11-2013, 01:56 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,944

Rep: Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797
So, it really doesn't look as if you have anything to worry about. Not unless there is some other application or applications that you run that will eat a whole lot more ram.

Last edited by salasi; 12-11-2013 at 01:57 AM. Reason: spellign!
 
Old 12-11-2013, 02:12 AM   #5
a4z
Member
 
Registered: Feb 2009
Posts: 743

Rep: Reputation: 281Reputation: 281Reputation: 281
I think if you whant to hypernate swap has to be the size of ram,
otherwise swap is normaly not needed in a normal desktop environment if you have 8 gig of ram, except you do something special.

check also the swappiness option, http://en.wikipedia.org/wiki/Swappiness
on sdd desktop systems I usually put them to a very very low value
 
Old 12-11-2013, 05:07 PM   #6
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,944

Rep: Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797
Hibernation is a good point, particularly if it is a laptop. Is it a laptop?
 
Old 12-11-2013, 05:47 PM   #7
cxiii
Member
 
Registered: Apr 2004
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by salasi View Post
Hibernation is a good point, particularly if it is a laptop. Is it a laptop?
No its a custom built PC. Here's the specs...

AMD 3.5 GHz Phenom II X4 970 Processor
Asus M5a97evo Motherboard
2 4GB Corsair Vengeance DDR3 Memory Modules
Corsair TX 750 Power Supply
2 XFX Radeon HD 6870 video cards that I want to setup as a Crossfire configuration.

I want to try to install the Elder Scrolls Skyrim using Wine. Haven't tried that yet. I also have 3 other hard drives with some data and music on them. That's why I wasn't concerned about having a big home partition on the SSD since I keep most of my stuff on the other drives.

So far its running great. I can't believe how fast it boots up.

Bill
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSD partitioning for fedora 19 distro justin thyme Linux - Hardware 5 11-18-2013 07:31 AM
[SOLVED] SSD + HDD: an OPTIMAL partitioning scheme xri Linux - Hardware 6 04-25-2012 10:19 AM
SSD partitioning aloisius-a Linux - Hardware 4 02-18-2011 01:34 AM
[SOLVED] Using both SSD/HDD for partitioning or is it better to just get external HDD? Switch7 Linux - Hardware 16 10-26-2009 12:23 PM
SSD File System Partitioning jaycee4 Linux - Newbie 7 09-18-2009 03:48 AM


All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration