Re: CPU swapping on Linux

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 24 Jan 2000 12:43:12 +0000 (GMT)


> > > cacheflushInCycles = cpuHz * cachesizeBytes / bytesPerSecond;
>
> If it was guessing the dram bandwidth was very low, shouldn't it have
> been grossly over-estimating cacheflush_time instead of under?

If you are going to be more accurate here you also need to alter the
numbers for 486/pentium boxes with shared L2 cache. You only want to compute
for L1 on these

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/