Re: System unresponsive during HDD activity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 14, 2010 at 5:11 PM, Konstantin Svist <fry.kun@xxxxxxxxx> wrote:
>  For some reason, while running HDD-intensive tasks (e.g. svn update on
> a large tree), system becomes extremely unresponsive.
> And I don't mean tasks that require any disk access - I'm trying to type
> inside an ssh session in a terminal, and the remote machine is getting
> my keystrokes after a pretty long delay.
>
> Just now, composing this email, thunderbird got stuck at the previous
> sentence for a second while it was downloading new messages.
>
> What's going on??
>

I've never thought that there was anything more complicated to this
phenomenon than that keyboard and disk i/o are both serviced by
interrupts.

Not only that, but I think the problem is fundamental.  You have two
real-time processes competing for processor time and constantly
attempting to interrupt one another.

Even if you try to set priorities so that keystrokes get first call on
the processor's attention, the system has to do a lot of save and
restore to respond to each one of those keystrokes,  and, unless you
don't care about data corruption, some disk tasks, once initiated,
absolutely must be attended to.

If you push things hard enough, you wind up with a situation that is
somewhat analogous to a traffic jam on a freeway: the throughput of
the entire system drops precipitously because all of the margins for
error have been exhausted, and you wind up with mutually-interrupting
processes queued up and traffic nearly at a stand-still.

A "fix" could never be more than moving the deck chairs around on the
Titanic.  Any freeway, no matter how big, can be overloaded, and there
will always be traffic jams.

Robert.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux