Re: [Sawfish] High IO while config is open.

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


Ah, yeah, thanks.

Please excuse me if I now dump this here, but I have a hard time
figuring this one out. I have a 26MiB strace log just from ~15 seconds
running and tried to analyze it with all my might. Though, I feel like
poking into the dark...

Be warned, this is 26MiB+:
strace -txo strace_output sawfish-config
http://www.bonsaimind.org/tmp/strace_output

I have also attached the output of 'strace -c sawfish-config'. I can see
nothing too suspicious except these 'gettimeofday' and 'clock_gettime'
calls...which are quite often in my opinion. Writes do not seem to be
that frequent (roughly 320 calls), some of them seem to happen with
quite big packages, but it still doesn't look like that this would
explain the big disk activity I'm seeing.

I also did a clean install from git, same thing.

I'll of course look further into this...

On Tue, 28 Aug 2012 10:14:27 +0200
Michal Maruska <mmaruska@xxxxxxxxx> wrote:

> the standard way of debugging this is  to "attach" strace to it, to
> see what & where things get written/read.
> 
> >>       11491 be/4 robert      0.00 B/s  532.82 K/s  0.00 %  0.23 %
> 
> strace -p  11491
> 
> change the PID next time:)
> 
> You might need sudo to use attach,  on some systems.
> 
> regards.
> 
> On Mon, Aug 27, 2012 at 11:25 PM, Robert 'Bobby' Zenz
> <Robert.Zenz@xxxxxxxxxxxxxx> wrote:
> > Just to update, I tried to debug this but failed miserable...
> > I also noticed that the .sawfish/custom does not get written until
> > Sawfish gets restarted (or closed). Now I *really* wonder what
> > causes this...
> >
> > Well, maybe I should wait for .1 and see if still persists...can't
> > really exclude that there's not something borked with my setup.
> >
> > On Tue, 21 Aug 2012 22:18:47 +0200
> > "Robert 'Bobby' Zenz" <Robert.Zenz@xxxxxxxxxxxxxx> wrote:
> >
> >> Is somebody else experiencing a high IO throughput as long as the
> >> config dialog is open? Output from iotop:
> >>
> >>       TID  PRIO  USER       DISK READ  DISK WRITE  SWAPIN      IO
> >>       COMMAND
> 
> >>       rep /usr/local/bin/sawfish-config ""
> >>
> >> That continues until I close the dialog. I'm not sure if that is
> >> intended behavior.
> >>
> >> Best Regards,
> >> Bobby
> >>
> >> Sawfish 1.9.0
> >> librep 0.92.2
> >> rep-gtk 0.90.8.1
> >>
> >
> >
> > --
> > Sawfish ML
> >
> 

Attachment: strace_c_output
Description: Binary data

Attachment: writes
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/