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

From: Ingo Molnar
Date: Thu Mar 01 2007 - 07:43:09 EST



* Evgeniy Polyakov <johnpol@xxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/