On Fri, Sep 13, 2013 at 12:56:37PM +0200, Peter Zijlstra wrote: > On Thu, Sep 12, 2013 at 02:19:13PM -0400, Steven Rostedt wrote: > > > > The good news is I can reproduce that very quickly. > > > (Apply http://paste.fedoraproject.org/38721/37890755 on top of > > > trinity.git, > > > and run ./trinity -l off -q -C32 -c inotify_init1 -c perf_event_open -c > > > newlstat) > > " The paste you are looking for does not exist " bah. that sucks. appended below.
> And that line on its own doesn't seem to do much.. its been running for > minutes now. > > Or does 'quickly' mean something else? without the diff, it'll use all kinds of fds. this diff hardwires it to just use fd's from perf_event_open. I'll hack up a command line switch to do this in a better way at some point. Dave diff --git a/fds.c b/fds.c index cc1ca6d..f48c95e 100644 --- a/fds.c +++ b/fds.c @@ -119,6 +119,8 @@ static int get_new_random_fd(void) retry: i = rand() % 6; + i = 3; + if (do_specific_proto == TRUE) i = 1; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/