[lkml]   [2003]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectProblem: high CPU usage during unmount
Hello, folks!

In all kernel versions I've tried, including 2.4.20, I'm seeing very high CPU
usage (typically 99%) while my system unmounts a large number of mounts. All of
this CPU time appears to be used by the kernel's umount() call.

The slowdown seriously affects the system's interactivity, and its duration
depends on the number of umounts the system has to do. For 79 mounts, it lasts
about 16.5 seconds.

I wrote a shell script that calls umount for each of these 79 mounts in a for
loop, and running it through time shows it to take 15.6 seconds of system time
with 95% CPU consumed.

While this typically happens through amd-managed NFS mounts, I've found that it
also happens with loopback mounts.

Does this sound familiar to anyone, and if so, is there anything I can do to
stop it? I can produce more debugging information if that would be useful.

Please CC me on any responses. Thanks very much for your time!

lars damerow
button pusher
pixar animation studios

I want to raise my freak flag higher and higher and
I want to raise my freak flag and never be alone... -tmbg
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:34    [W:0.021 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site