-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 I've tested a couple more kernels: 2.6.23-rc4-mm1 and 2.6.23-rc6 with the "sched_yield_bug_workaround" patch from Ingo, results are here: http://devloop.org.uk/documentation/database-performance/Linux-Kernels/Kernels-ManyThr... Same, with the load average (dotted lines): http://devloop.org.uk/documentation/database-performance/Linux-Kernels/Kernels-ManyThr... Still slows down after 800 threads...(...) Until I find enough time to update the docs, feel free to ask. It very well might be, but this is still a visible regression. Thanks for the suggestion, I'll add this to the test series. You are correct, it is very sensitive to the execution order and caching. When I vary the thread pause, the total execution time varies widely. 10ms just happens to be the sweet spot which provides the best contrast in the results (for both kernels and rdbms) As I said above, I have tried varying the pause and this is the sweet spot. If you don't yield, the first hundred threads will be finished by the time you start the 800th - which is not what you want. I could try just yielding at the start, or only during the first iteration, etc.. all suggestions are most welcome. Yes! I know it sounds sub-optimal, but this benchmark wasn't designed to test the scheduler! It is meant to thrash just one database table. It isn't meant to be anything like TPC either. Previously it did uncover some very noticeable differences in JVM performance when stress-tested with a large amount of threads. I sure do! I'll try to improve on that when I get a chance. Here is a start: the schema is configurable with simple text files. And the database layer translates it into the SQL syntax (and types) supported by the backend (MySQL in this case): # cat ManyThreadedCombinedTest.properties table=update columns=i1:integer,i2:integer,s1:varchar,s2:varchar I'll make a click&run tarball if anyone is interested in running the tests themselves (it outputs csv data). Thanks for the feedback. Antoine -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG6Yk8GK2zHPGK1rsRCtVaAKCAVyU4woztnl6q0NAZBNsM94I2JgCcD4M3 +MpR1gAom65Mn/tQX8ig1cI= =Q3IY -----END PGP SIGNATURE----- -
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg Kroah-Hartman | [PATCH 010/196] Chinese: add translation of Codingstyle |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Alan Cox | [PATCH 00/76] Queued TTY Patches |
git: | |
| Junio C Hamano | Re: [PATCH] Teach remote machinery about remotes.default config variable |
| free cycle | How to Import a bitkeeper repo into git |
| Pierre Habouzit | Re: git-rerere observations and feature suggestions |
| David Miller | Re: Git and GCC |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Real men don't attack straw men |
| Daniel Ouellet | identifying sparse files and get ride of them trick available? |
| Leon Dippenaar | New tcp stack attack |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Kim Phillips | [PATCH 0/5] fixups for mpc8360 rev. 2.1 erratum #2 (RGMII Timing) |
| Rafael J. Wysocki | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Patrick McHardy | Re: Not understand some in htb_do_events function |
