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.
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!