1851
General Software Discussion / Re: "Enable advanced performance" - the optimization that isn't
« Last post by Edvard on March 12, 2009, 04:18 PM »Boy did I have to dig for that one on my XP box at work!
So until 2.6.30 gets the patches, us Linux folks should tweak our writebacks:
A Registry for Linux?
Do I smell torches? and are those pitchforks?
So until 2.6.30 gets the patches, us Linux folks should tweak our writebacks:
Unfortunately, the default VM tuning parameters, which can be controlled by /proc/sys/vm/dirty_expire_centiseconds and /proc/sys/vm/dirty_writeback_centiseconds, means that in practice, a newly created file won't hit disk until about 45-150 seconds later...or
Another solution is to make sure your system is reliable. :-)but then again...
The final solution, is we need properly written applications and desktop libraries. The proper way of doing this sort of thing is not to have hundreds of tiny files in private ~/.gnome2* and ~/.kde2* directories. Instead, the answer is to use a proper small database like sqllite for application registries, but fixed up so that it allocates and releases space for its database in chunks, and that it uses fdatawrite() instead of fsync() to guarantee that data is written on disk.
A Registry for Linux?Do I smell torches? and are those pitchforks?

Recent Posts





