bug-hurd
[Top][All Lists]
Advanced

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

Re: ext2fs kernel profiling: most of the time in thread management


From: Thomas Bushnell, BSG
Subject: Re: ext2fs kernel profiling: most of the time in thread management
Date: Fri, 30 Dec 2011 13:09:55 -0800

2011/12/30 Jérémie Koenig <jk@jk.fr.eu.org>
On Thu, Dec 29, 2011 at 1:25 AM, Samuel Thibault
<samuel.thibault@gnu.org> wrote:
> [...], but I believe it's still a bit revealing: I had already noticed
> that ext2fs spends most of its time in the kernel (like 90%), and it
> here seems we're spending a lot of time just managing the ext2fs thread
> sleeps (no, there aren't many threads in that test, just two dozen).

Could thread migration [1] maybe help with this?

[1] http://www.brynosaurus.com/pub/os/thread-migrate.pdf

One reason we didn't worry about these context switches was because migrating threads was going to be in the mainline Mach RSN.

Thomas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]