Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

Ingo Molnar
2007-03-01T12:42:53Z

* Evgeniy Polyakov <johnpol@2ka.mipt.ru> wrote:

> Document Length: 3521 bytes

> Concurrency Level: 8000
> Time taken for tests: 16.686737 seconds
> Complete requests: 80000
> Failed requests: 0
> Write errors: 0
> Total transferred: 309760000 bytes
> HTML transferred: 281680000 bytes
> Requests per second: 4794.23 [#/sec] (mean)

> Concurrency Level: 8000
> Time taken for tests: 12.366775 seconds
> Complete requests: 80000
> Failed requests: 0
> Write errors: 0
> Total transferred: 317047104 bytes
> HTML transferred: 288306522 bytes
> Requests per second: 6468.95 [#/sec] (mean)

i'm wondering - how can the 'Total transferred' and 'HTML transferred'
numbers be different?

Since document length is 3521, and the number of requests is 80000, the
correct 'HTML transferred' is 281680000 - which is the epoll result. The
kevent result shows more bytes transferred, which suggests that the
kevent loop is probably incorrect somewhere.

this might be some benign thing, but the /first/ thing you /have to/ do
before claiming that 'kevent is 25% faster than epoll' is to make sure
the results are totally reliable.

Ingo