LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-03-2004, 10:09 PM   #1
dtrusty
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
Do any kernels support a multi-gigabyte buffer cache?


Hi,

I have a system with 4.5G of ram.

I noticed (using 'free') that the system buffer cache
was limited to about 820M.

The server will hold up to 12G of ram.

I use kernel 2.4.20-31.9bigmem.

Do any kernels support a multi-gigabyte buffer cache?

Thanks,

David
 
Old 11-04-2004, 12:34 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
hi,

as far as i know Linux will automatically try to uses ALL free ram for buffer cache, and automatically makes the cache smaller when programs need more memory.
but low usage was a problem with those older kernels
i would migrate to 2.6 kernel where lots of issues with highmem have been addressed
2.6 kernel supports larger pages up to 2/4M and page table entries can now exist in highmem
removing the old 1Gb constraint for pte's allowing better use of more memory
has larger table lookaside buffer that can actually stay cached because pte's are moved out of lowmem
and since buffer cache like you said is ultimately about block device reads the kernel you are using had to route all block device i/o through the first 1Gb kernel set aside one locked read at a time and then bounce to a highmem address.
newer kernel block device drivers support direct highmem DMA and more finer grained locking and i bet this will fix what you are seeing and speed you up alot. and eliminate that waste of memory.
 
  


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
buffer/cache variable for free command... audibel Linux - Software 3 12-14-2007 02:54 PM
file buffer cache jwstric2 Linux - General 2 06-30-2004 04:25 PM
Multi-boot Windows, Debian with several kernels loopyzort Linux - Newbie 12 06-03-2004 06:32 PM
Support Gigabyte Ga-8IK1100? Zoltam Linux - General 0 07-08-2003 02:42 AM
File buffer cache structure dserban Linux - General 0 04-20-2001 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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