Re: [Sawfish] Re: High IO while config is open. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [Sawfish] Re: High IO while config is open.
- From: Michal Maruska <mmaruska@xxxxxxxxx>
- Date: Wed, 29 Aug 2012 10:06:53 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=YEFT1JXPGTrnJKS4zuumDikdHCzpi7+2UHQzYplWF28=; b=MGaX5jiR0UlDsWJZX/m0rXAFpwoGui2vWPgwJg25coZkDXTsRkcBGkBQ7zfk0q24U3 oYoljxKnLCUjWT7pFn58cesYgXKUbvSL60HNqa8gukAl/6tQdVcK2sxwtbvmfOwCcqmX kTtP9fd/A/pdbvYeJo8AVRiJdRsn3J0XXWvbNEvqyYzMf7BdTJ8/FinF2UuLZcdj/qfA 9sthNK/Y6u2ll2W0X3zNivz59QBHTH4UVZCCF53F0YRvKOkmLvutheqMQ0/K9zmbQf9u uNkWOIHBJxv4CrfaD5SjD8l9zciRm68MCVUk0VozOdLvLiL3mMRqHMOTl7LOQ6YXziev SJow==
On Wed, Aug 29, 2012 at 12:33 AM, GSR - FR <famrom@xxxxxxxxxxxxxxxxxxxx> wrote:
......
> There are thousands of 'read'. The one that appears a lot uses fd 10,
> 'grep "read(10" strace_output | wc -l' gives 116465, the file has
> 261125 lines.
>
> Looking up what has generated a 10 gives some 'open's (that are closed
> quickly) and 'inotify_init1'. Those read calls have
> '\x73\x74\x72\x61\x63\x65\x5f\x6f\x75\x74\x70\x75\x74' which is the
> string 'strace_output'.
>
> My take is something is looking for changed files (check the
> 'inotify_add_watch' calls), and you are changing a file just where
> that thing is looking at.
>
> Could you try making redirections to /tmp/strace_output and check
> again? Maybe something (gtk inner guts?) is causing part of the IO
> noise.
So for some reason this sawfish-config opens an inotify on your home
directory (and/home/robert/.local/share) .
Maybe it should not, or is it some Gtk internal thing?
So, similar to
inoticoming --foreground . echo {} \;
When you do as GSR suggested (diverting the strace output out of those
2 directories),
you might see what is touching files in those directories.
--
Sawfish ML