Messages in this thread | | | Date | Sun, 22 Feb 1998 22:15:52 -0500 (EST) | From | Emil Briggs <> | Subject | Re: New Feature Idea: Compress swap file |
| |
>> I don't know for certain but it sounds reasonable. Which brings to mind >> another question -- do the buffer flushing routines consider hard disk >> geometry when deciding which dirty buffers to write to disk and in what >> order to write them? (I'm not referring to swap specifically here). > >Since the real geometry isn't known to the driver, this would be a useless >thing to try. >
You do have block numbers though. As long as these have some sort of ordering that makes sense wrt the physical drive (i.e. certain range of block numbers corresponds to a certain cylinder on the drive) then you might be able to use that information. I've been reading the kernel code trying to understand it but I usually learn best by trying to actually get something to work. So I think I'll try to implement something in the buffer flushing routines that takes advantage of the disk geometry. It may not be very useful or practical but it should in any case be a good learning experience. Any comments or suggestions are appreciated. (Or if there's some reason why it simply wouldn't work that too).
Emil
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |