LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 12-15-2005, 04:24 PM   #1
mrtee
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Weird cache / buffers problem - they're tiny!


Hello friends

I have a problem with buffers and cache.

Box 1: 512MB RAM, CentOS 4.1, kernel 2.6.9-11.EL
Box 2: 1GB RAM, CentOS 4.2, kernel 2.6.9-22.0.1.EL

In all other respects identical. I just moved my site from 1 to 2, kept everything exactly the same. Load on 1 averaged about 0.04, but on 2 it averages 0.50. Crazy considering 2 is the better machine!

I believe it's due to buffers / cache, which I think are causing HDD reads to queue up.

Note these outputs from 'free' - box 1:
Code:
             total       used       free     shared    buffers     cached
Mem:        515108     394228     120880          0      49700     279080
-/+ buffers/cache:      65448     449660
Swap:      1052248          0    1052248
And box 2:
Code:
             total       used       free     shared    buffers     cached
Mem:       1031740     178676     853064          0        144      23044
-/+ buffers/cache:     155488     876252
Swap:      1052248      14816    1037432
Tell me that isn't WEIRD for a well loaded server. Tiny buffers and cache!

I've looked everywhere but can't find a tweak for forcing larger buffers + cache. What can I do short of attempting a kernel downgrade? Any ideas will be greatly appreciated.

Last edited by mrtee; 12-15-2005 at 04:27 PM.
 
  


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
clearing cache, web cache on linux varunbihani Linux - General 2 12-08-2005 12:02 PM
Error: Caching enabled and local cache: //var/cache/yum/base/primary.xml.gz does... dr_zayus69 Linux - Software 2 07-06-2005 04:32 AM
Weird, weird apache2 problem atheist Debian 1 09-17-2004 08:26 PM
About buffers? eshwar_ind Programming 2 04-30-2004 05:13 AM
Tivo/Linux/Win box 160GB 8mb cache..weird question..2nd HD m2bored Linux - Hardware 2 07-23-2003 11:22 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 11:33 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
Open Source Consulting | Domain Registration