RE: dynamic swap prioritizing

From: Venkatesh Ramamurthy (
Date: Wed Oct 10 2001 - 11:47:54 EST

> I'd rather just have the statistic data in a regular file for ALL
> and then send it to the kernel via ioctl or write to a special
file that
> the kernel will read from. I don't think it is critical to have
> data right at boot time, since it would only be used for
optimizing I/O
> access and would not be required for a disk to actually work.

        My idea of putting this info on swap was that when the disk is moved
from one system to another system, the statistics stays with the swap
itself. If the swap disk(partition) is put in a different system which has
different configuration(that which would affect the performance info on the
disk), then we can recompute the statistics, otherwise there is no need to
rerun the utility every time the swap disk is moved.
        Also the kernel would be smart enough to know about the swap
performance without the need for an utility to invoked, to set the
parameters through IOCTL.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:33 EST