iperf: performance regression (was b44 driver problem?)

2007-06-04 Thread Stephen Hemminger
On Mon, 04 Jun 2007 18:35:58 +0200 Thomas Gleixner [EMAIL PROTECTED] wrote: On Mon, 2007-06-04 at 09:09 -0700, Stephen Hemminger wrote: I did the test with an 2.6.22-rc3-git4 kernel and the p54 driver built external as module. Can you look at iperf to figure out, whether it does

Re: iperf: performance regression (was b44 driver problem?)

2007-06-04 Thread Thomas Gleixner
On Mon, 2007-06-04 at 09:59 -0700, Stephen Hemminger wrote: gettimeofday({1180973726, 982754}, NULL) = 0 recv(4, \0\0\0\0\0\0\0\1\0\0\23\211\0\0\0\0\0\0\0\0\377\377\364..., 8192, 0) = 8192 gettimeofday({1180973726, 983790}, NULL) = 0 Well, gettimeofday() is not affected by the

Re: iperf: performance regression (was b44 driver problem?)

2007-06-04 Thread Stephen Hemminger
On Mon, 04 Jun 2007 19:32:48 +0200 Thomas Gleixner [EMAIL PROTECTED] wrote: On Mon, 2007-06-04 at 09:59 -0700, Stephen Hemminger wrote: gettimeofday({1180973726, 982754}, NULL) = 0 recv(4, \0\0\0\0\0\0\0\1\0\0\23\211\0\0\0\0\0\0\0\0\377\377\364..., 8192, 0) = 8192

Re: iperf: performance regression (was b44 driver problem?)

2007-06-04 Thread Thomas Gleixner
On Mon, 2007-06-04 at 10:51 -0700, Stephen Hemminger wrote: I doubt that. This is in the iperf code itself. void thread_rest ( void ) { #if defined( HAVE_THREAD ) #if defined( HAVE_POSIX_THREAD ) // TODO add checks for sched_yield or pthread_yield and call that // if

Re: iperf: performance regression (was b44 driver problem?)

2007-06-04 Thread Thomas Gleixner
On Mon, 2007-06-04 at 21:00 +0200, Thomas Gleixner wrote: Yes, the following patch makes iperf work better than ever. But are other broken applications going to have same problem. Sounds like the old who runs first fork() problems. Not really. The fork() who runs first problem is

Re: iperf: performance regression (was b44 driver problem?)

2007-06-04 Thread Ingo Molnar
* Stephen Hemminger [EMAIL PROTECTED] wrote: Yes, the following patch makes iperf work better than ever. But are other broken applications going to have same problem. Sounds like the old who runs first fork() problems. this is the first such app and really, and even for this app: i've been

Re: iperf: performance regression (was b44 driver problem?)

2007-06-04 Thread Maximilian Engelhardt
On Monday 04 June 2007, Ingo Molnar wrote: * Stephen Hemminger [EMAIL PROTECTED] wrote: Yes, the following patch makes iperf work better than ever. But are other broken applications going to have same problem. Sounds like the old who runs first fork() problems. this is the first such app

Re: iperf: performance regression (was b44 driver problem?)

2007-06-04 Thread Stephen Hemminger
On Mon, 4 Jun 2007 21:47:59 +0200 Maximilian Engelhardt [EMAIL PROTECTED] wrote: On Monday 04 June 2007, Ingo Molnar wrote: * Stephen Hemminger [EMAIL PROTECTED] wrote: Yes, the following patch makes iperf work better than ever. But are other broken applications going to have same

Re: iperf: performance regression (was b44 driver problem?)

2007-06-04 Thread Maximilian Engelhardt
On Monday 04 June 2007, Stephen Hemminger wrote: On Mon, 4 Jun 2007 21:47:59 +0200 Maximilian Engelhardt [EMAIL PROTECTED] wrote: On Monday 04 June 2007, Ingo Molnar wrote: * Stephen Hemminger [EMAIL PROTECTED] wrote: Yes, the following patch makes iperf work better than ever. But are