LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-12-2011, 01:48 AM   #1
Ipozya
Member
 
Registered: Dec 2010
Distribution: Arch
Posts: 54

Rep: Reputation: 2
Swap


Hello everyone,

I have a couple of different questions that I would be very grateful if people could assist me with:

1) I am having difficulties getting hibernate and suspend to work (I know these are quite unpredictable areas in Linux). For suspend, I have set my swap partition = 4 GB (I have 6 GB of RAM). Is this enough? I heard that the 2xRAM rule only applies up to 1 gb of ram and that over 4 gb is overkill.

2) As expected, fsck runs a check on every partition every so many mounts. The last two times that it has checked my /tmp partition (dev/sda7) it has told me something like: "lost+found not found - CREATED"
Is this an issue that I should worry about? Are files being corrupted or destroyed (I am using ext3)

3)The same filesystem check reported that my /home partition was 14.5% non-contiguous. I was not aware that I needed to defrag ext3. I believe this is slightly up from the last check ~30 mounts ago (I think it was ~8%). Is this anything I should worry about or will it fix itself?

Thanks a lot!

Last edited by Ipozya; 02-12-2011 at 01:56 AM.
 
Old 02-12-2011, 03:06 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Add 1)I do not believe in golden rules
It depends on how do you use you're system
But a swap of 4 GB should be enough

add 2 ) Why it is not created directly is strange
But if it is created than it should be OK

add3 If you do not use more than let say 85% of the disk space than defrag is useless
I am even not aware that there is a defrag for linux
 
Old 02-12-2011, 07:54 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
1) I've read somewhere that swap should be a little more than RAM for suspend & hibernate. In your case 6.5 GB.
 
  


Reply



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
Gparted says swap has 5 Gb, grep SwapTotal /proc/meminfo says swap has 800 Mb rickrandall Red Hat 3 02-24-2010 12:09 PM
SWAP - having trouble with swap auto mounting at boot lostdj Linux - General 2 08-05-2008 12:47 PM
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 12:57 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:56 AM.

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
Open Source Consulting | Domain Registration