[lkml]   [2001]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.4.10-pre11: alsaplayer skiping during kernel build (-pre10 did not)
Andrea Arcangeli wrote:
> I now have an update ready for Linus to merge that should fix the few
> leftovers I had in the very first release of the vm rewrite but of
> course I will be interested to hear about any regression/progression
> about those changes, I'll post them in a few minutes in CC to l-k.

Please include Andi's likely()/unlikely() change - it's nice.

I can't measure any obviously new causes of latency in your
VM. It's nice that you've paid attention to this in various

The main culprits now are the file IO and dirty buffer writeout paths:
up to fifty milliseconds in each.

I suggest you stick scheduling points in generic_file_read(),
generic_file_write() and write_locked_buffers() and then dispose
of the copy-user-latency patch from -aa kernels.

With the above fixed, the main source of latency is
/proc/meminfo->si_swapinfo(). It's about five milliseconds per gig
of swap, which isn't too bad. But it's directly invokable by
userspace (ie: /usr/bin/top) and really should be made less dumb.
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

 \ /
  Last update: 2005-03-22 13:03    [W:0.083 / U:1.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site