lkml.org 
[lkml]   [2008]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Finding what is stuck...
    On Mon, 1 Sep 2008 17:08:12 -0700, Arjan van de Ven <arjan@infradead.org> wrote:

    > On Tue, 2 Sep 2008 02:04:47 +0200
    > "J.A. Magallón" <jamagallon@ono.com> wrote:
    >
    > > Hi all...
    > >
    > > I'm running 2.6.27-rc5-git2 on an Aspire One.
    > > The system is in general pretty responsive, but sometimes it just gets
    > > totally stuck. Even the mouse stops.
    > >
    > > It looks related to disk (SSD) access, but I'm not totally sure.
    > > Is there any way to find what is getting stuck ? I know that SSDs can
    > > be slow on write, I don't mind if the system is faster or slower
    > > (it's small :))), but if the speed is constant. That occasional
    > > pauses are strange, like if SSD flushing gets stuck on BKL
    > > (I know, no idea about what I talk...).
    > >
    > > I'm using ext3 fs, noop iosched. But as I say, I'm not sure that the
    > > disk writes are the culprit.
    > >
    > > Any idea about how to find this ?
    >
    > Have you tried to run "latencytop"?
    > (you need to enable this in the kernel config as well)
    >
    > it tends to (for me at least) point out very well where stalls happen,
    > or at least, what the system is doing when they happen.
    >
    > (hint: make sure you do "make install" before running it)
    >

    Thanks, I'm a bit limited to distro kernels 'cause I don't want to build
    my own kernel on the One, but I have just looked and Mandriva kernel is
    built with LATENCYTOP=y. I will try that and report...

    --
    J.A. Magallon \ Software is like sex:
    \ It's better when it's free
    Mandriva Linux release 2008.1 (Cooker) for i586
    Linux kernel 2.6.23-jam01, gcc version 4.2.2 20070909
    --
    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/

    \
     
     \ /
      Last update: 2008-09-02 02:15    [W:0.035 / U:60.112 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site