Re: [PATCH] RFC: Changes to tcpbench.

2009-08-28 Thread Christiano Farina Haesbaert
2009/8/28 Claudio Jeker cje...@diehard.n-r-g.com: I'm running with this version that fixes the way closed sockets are handled. Instead of ignoring the last fd it will run handle_connection() on that fd if the fd is valid and has data. I also fixed a off by one in the same code. With this

Re: [PATCH] RFC: Changes to tcpbench.

2009-08-25 Thread Christiano Farina Haesbaert
On Wed, Aug 05, 2009 at 07:17:04PM +0200, Henning Brauer wrote: * Claudio Jeker cje...@diehard.n-r-g.com [2009-08-05 19:04]: This needs a bit more work and maybe it would make sense to switch away from poll to kqueue or libevent. poll() gets inefficient when handling large ammount of fds.

Re: [PATCH] RFC: Changes to tcpbench.

2009-08-10 Thread Claudio Jeker
On Sat, Aug 08, 2009 at 05:08:45PM -0300, Christiano Farina Haesbaert wrote: I've discovered that my patch reads the wrong tcp table entry, as soon as I fix this I'll mail the final patch. I had to add rdomain support to tcpbench so that I can use it in my test setup. Diff is attached, I hope

Re: [PATCH] RFC: Changes to tcpbench.

2009-08-08 Thread Christiano Farina Haesbaert
I've discovered that my patch reads the wrong tcp table entry, as soon as I fix this I'll mail the final patch. -- Christiano Farina HAESBAERT Do NOT send me html mail.

Re: [PATCH] RFC: Changes to tcpbench.

2009-08-05 Thread Claudio Jeker
On Sat, Aug 01, 2009 at 07:33:00PM -0300, Christiano Farina Haesbaert wrote: Hi there, Here is a much better diff proposal than my previous one. - Don't fork use poll instead. - Collect usefull overall statistics, as % bandwith being used by each connection, total and average rate since

Re: [PATCH] RFC: Changes to tcpbench.

2009-08-05 Thread Henning Brauer
* Claudio Jeker cje...@diehard.n-r-g.com [2009-08-05 19:04]: This needs a bit more work and maybe it would make sense to switch away from poll to kqueue or libevent. poll() gets inefficient when handling large ammount of fds. But that's maybe for later. that is DEFINATELY for later if it all.

Re: [PATCH] RFC: Changes to tcpbench.

2009-08-05 Thread Damien Miller
On Wed, 5 Aug 2009, Henning Brauer wrote: * Claudio Jeker cje...@diehard.n-r-g.com [2009-08-05 19:04]: This needs a bit more work and maybe it would make sense to switch away from poll to kqueue or libevent. poll() gets inefficient when handling large ammount of fds. But that's maybe for