LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] tdb & ramdisk...

[ILUG] tdb & ramdisk...

Justin Mason jm at jmason.org
Wed Apr 11 15:51:49 IST 2001


Paul Jakma said:

> On Wed, 11 Apr 2001, John P. Looney wrote:
> 
> >  However, if you are storing the database on a ramdisk - is there any point
> > using mmap() ? Mapping memory to memory seems messed up to me :)
> 
> presumably there would be as you avoid the VFS.

But then you have to hope the OS doesn't have any wierd ramdisk bugs,
which may not be the case for odd mmap()-type cases esp. with 2.4.x,
AFAICS from reading Kernel Traffic...

I would say that you should do some amateur benchmarking to measure it.
The mmap() case is most likely optimised for real disks, not ramdisks, and
ramdisks ('cos they chew up real RAM) can have bad effects on caching.

BTW those Ratpoison people scare me, with their "rat" hatred. eek.

--j.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell