On Monday 18 June 2001 21:57, Henrik Nordstrom wrote:
> For Squid it would become very interesting if in some time (lets say
> about a year, maybe more) there is a good volatile permanent object
> store similar to reiserfs-raw but with a slightly more flexible
> application interface.
One thing I have considered doing if I got a large amount of spare time
(IE something that'll never happen) is to investigate getting the
user-mode-linux code and taking the block IO part to make file systems
run in user-space as a database interface. For something like a large
squid box it might get a performance gain to have small operations
(directory lookups) take place in user-land rather than have a system
call for each one.
Also it could potentially have some benefits for debugging. I thought
that combining the above with a LD_PRELOAD library to take over the
read/write/open/etc library calls could allow an application to think
it's using regular files while it's really accessing a user-land process
and talking over named pipes. Then you could test out a new version of a
file system without risking crashing your machine!
--
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page