Re: Report: 2.4.18 very high latencies (with lowlat. and pre-empt

Andrew Morton (akpm@zip.com.au)
Fri, 05 Apr 2002 11:45:18 -0800


Ricardo Galli wrote:
>
> To test computer A, which has installed Linux 2.4.18 + all low latency
> patches.
>
> 1. Put ten (10) to twenty (20) files of 64-80 MB each in computer B. For
> example in /tmp/test.
>
> 2. Mount in B a disk in A via NFS in, for example, /mnt/A
>
> 3. In B, run the following command:
> cp /tmp/test/* /mnt/A
>
> 4. Check in A how you mouse freezes.
>

You're writing a ton of data to disk, and this causes the X
server to have long freezes.

Probably the X server is waiting on a disk read, which is
blocked behind all the writes. This is worsened by the
VM's tendency to evict useful data in favour of caching
large read/write data.

You'll find that the -aa VM will improve the page replacement
decisions, so the X server won't have to read random
pages as often. This should help a bit. The patch at
http://www.zip.com.au/~akpm/linux/patches/2.4/2.4.18-pre1/read-latency2.patch
will decrease the time which the remaining reads take.
This should help a lot.

We're getting there, albeit a bit slowly.

-
-
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/