LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2009, 05:15 PM   #1
Asinine
Member
 
Registered: Jul 2009
Location: Germany
Distribution: Arch
Posts: 52

Rep: Reputation: 15
page file


I've got an eeepc, and I upgraded the memory from 512mb to 2gb. Ubuntu 9.04 showed it no problem in the system monitor (and other various places), but the eee never actually uses more than 512mb. As a result, I still get lagged when it hits its "max" (actually, it's still better than when I've got the 512mb stick in; it starts lagging like crazy around 480mb).

I posted something about it on the EeeUser forum, and everyone seems to be saying to turn off my page file and force it to use more RAM. I had no idea Linux used page files... I think I could manage it in Windows, but I'm still floundering a bit in not-windows.

How do I "force the computer to use more memory", "take off the paging file", or add a RAM drive (like another usb or sd card?) to speed things up?

My original post is here: http://forum.eeeuser.com/viewtopic.php?pid=629809
 
Old 08-22-2009, 05:42 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by Asinine View Post
I've got an eeepc, and I upgraded the memory from 512mb to 2gb. Ubuntu 9.04 showed it no problem in the system monitor (and other various places), but the eee never actually uses more than 512mb. As a result, I still get lagged when it hits its "max" (actually, it's still better than when I've got the 512mb stick in; it starts lagging like crazy around 480mb).

I posted something about it on the EeeUser forum, and everyone seems to be saying to turn off my page file and force it to use more RAM. I had no idea Linux used page files... I think I could manage it in Windows, but I'm still floundering a bit in not-windows.

How do I "force the computer to use more memory", "take off the paging file", or add a RAM drive (like another usb or sd card?) to speed things up?

My original post is here: http://forum.eeeuser.com/viewtopic.php?pid=629809
I believe the term is swap file which is like a virtual memory for linux systems. However I am not sure if what they told you will help? Could be wrong though. What are you doing when the system is running slow? Also what kind of drive do you have? Is it a ssd or regular PATA?
 
Old 08-22-2009, 05:51 PM   #3
Asinine
Member
 
Registered: Jul 2009
Location: Germany
Distribution: Arch
Posts: 52

Original Poster
Rep: Reputation: 15
Sigh, I was hoping that wasn't the case. I can't really afford to use a swap file, and the two times I tried it, I noticed that it was rarely used, despite the memory and cpu being at 100%. I've got a 4gb ssd, but I do have a usb hard drive available. Think installing to that would improve anything? (As a note, I've now had three separate and different live versions of Linux run from my 8gb usb stick, and the memory/swap/cpu didn't seem to be any different in those cases.)

Meh.
 
Old 08-22-2009, 05:57 PM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Have a look here first. I remember seeing that linux on ssd had some performance issues but could be optimized to run better.

http://blogs.zdnet.com/perlow/?p=9190
 
Old 08-22-2009, 06:01 PM   #5
Asinine
Member
 
Registered: Jul 2009
Location: Germany
Distribution: Arch
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks, I'll take a look at it. Regardless, thanks also for your quick responses.
 
Old 08-22-2009, 07:21 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Let's see the output from
Code:
free -m
swapon -s
 
Old 08-23-2009, 02:13 PM   #7
Asinine
Member
 
Registered: Jul 2009
Location: Germany
Distribution: Arch
Posts: 52

Original Poster
Rep: Reputation: 15
Code:
             total       used       free     shared    buffers     cached
Mem:           489        267        222          0          6        117
-/+ buffers/cache:        143        345
Swap:            0          0          0
I don't have a swap partition, so no data there.

In regards to that tweaker's guide, I just have one question: I don't have multiple ssd options, so that disqualifies the raid idea, right?

Thanks again. I've just made changes and am going to reboot and see how things work out.

Edit: so far it looks like 75mb less were being used. I'll go back to my intensive abuse of it tomorrow.

Last edited by Asinine; 08-23-2009 at 02:25 PM.
 
Old 08-28-2009, 11:32 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Looking at that, there must be a hardware/BIOS issue - you (the kernel) are not seeing that memory you reckon you added. Have a look at dmesg for memory related messages.
 
  


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
About the last page of file reading in the user space kenokanza Linux - Kernel 0 06-07-2009 07:09 PM
Process page file usage in C mistretzu Programming 2 07-04-2008 11:46 AM
Using swap and page file on same partition jgtg32a Linux - Desktop 1 10-25-2007 04:28 PM
How to Access RAM as a page file sathyacrt84 Linux - Software 2 03-13-2005 03:47 PM
HOST File Advice page programmershous General 4 07-17-2004 11:36 AM


All times are GMT -5. The time now is 02:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration