RE: dynamic swap prioritizing

Venkatesh Ramamurthy (Venkateshr@ami.com)
Wed, 10 Oct 2001 12:47:54 -0400


> I'd rather just have the statistic data in a regular file for ALL
disks,
> 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
this
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/