LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-31-2005, 11:55 PM   #1
Tylerious
Member
 
Registered: Feb 2005
Location: USA
Distribution: Gentoo
Posts: 72

Rep: Reputation: 15
general memory utilization


Hi, I'm running a 266 MHz K6 linux box with Debian 3.1. I've been getting slow performance running programs like Firefox or multitasking and am looking into cheaply upgrading it. My hard drive is obviously very slow, but I'm not sure my motherboard/chipset can handle a modern UDMA disk, so I was considering memory. I came across this article: A Primer on DDR Memory, which talks about memory use with various versions of Windows. It talks about cost vs. benefit for adding RAM, citing a drop in performance if too much RAM is used. It says 64 MB is about the peak for performance with Windows 95 (the former OS of this box).

My question is whether the same applies for Linux. If I add 128 or 256 MB of RAM, will I see an improvement over my current 32 MB or will it start degrading performance after 64 MB or so?

Thanks, anybody who can clear this up for me. I'm hoping this is just a flaw with Windowa because I've heard Linux is good about using whatever RAM it can.
 
Old 09-01-2005, 12:43 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
definitly add ram
no perfomance drop
older 2.4 kernels don't go over 1GB too well but 2.6 can use PAE extensions well and can use 64GB

oh yea Windows is a toy not a computer so it's designed to run toy size ram

Last edited by foo_bar_foo; 09-01-2005 at 12:44 AM.
 
Old 09-01-2005, 08:43 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,642
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
It's also possible that the hard-disk access parameters are set very conservative, hence very slow. Try man hdparm and also look for hdparm as a keyword both here and in Google.

Memory is pretty much a no-brainer purchase as far as performance goes. Get Some. More.
 
Old 09-01-2005, 08:53 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Talking

Basic rule of thumb: If it doesn't work well in Windows its because Windows sucks rather than being a general limitation of all Operating Systems.
 
Old 09-01-2005, 11:02 AM   #5
Tylerious
Member
 
Registered: Feb 2005
Location: USA
Distribution: Gentoo
Posts: 72

Original Poster
Rep: Reputation: 15
Okay, thanks, all. I'll get me some, heh.

I'm also trying the Opera browser and it's loading about ten times faster. Too bad menus look like crap and there's ads. Hopefully Firefox will run better with more memory.

I'll also look into my harddrive parameters as well as my actual hardware limitations. If I can use a faster drive, I'll do that.

Thanks again!

EDIT:
hdparm indicates that multcount is set to 16 and it's using DMA. It's benchmarks were
"Timing cached reads 136 MB in 2.05 seconds = 66.34 MB/sec
Timing buffered disk reads 18 MB in 3.25 seconds = 5.54 MB/sec"
I tried changing a couple settings but the benchmarks suffered (cached: 4.53 MB/sec and buffered: 4.27 MB/sec). Looks like it's running about optimized as it is. Oh well.

Last edited by Tylerious; 09-01-2005 at 11:48 AM.
 
Old 09-01-2005, 01:25 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,642
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
Good idea. When computer manufacturers design retail-grade computers, they know that those machines won't be doing much I/O. So they often design very low-grade IDE channels and put them "conveniently" on the motherboard. And they sell disk drives that, while extremely capacious, are also very slow. The machine works, but it can barely get out of its own way once the signals have to leave the motherboard. (And sometimes there is a rather shocking difference between how fast the CPU is said to perform and how fast the board can perform... and of course "guess who wins.") The biggest bottleneck is, and always will be, I/O. (By adding RAM you are basically "avoiding I/O.")

You might be able to transform the machine outright by:
  1. Adding more RAM.
  2. Installing a separate EIDE-controller card.
  3. Installing a USB-2.0 / Firewire card.

The folks who design off-board peripheral interfaces expect that many of the people who buy them "want more." Now, IDE (no matter how you slice it) just isn't tremendously-fast just because of its design. But if you want to watch a piece of hardware jump, try using Firewire. This is the latest incarnation of SCSI and ka-a-a-a-zing!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cpu and memory utilization laxmi_cs Linux - General 2 08-29-2005 04:06 PM
High memory utilization dav7500 Linux - General 7 03-05-2004 05:07 PM
CPU & memory utilization rgerhards Linux - Newbie 2 12-03-2003 11:24 AM
Red Hat Memory Utilization chewy Linux - General 3 03-05-2003 06:22 PM
Memory Utilization Question toddclark Linux - General 1 11-04-2000 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:46 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