OK, It definitely has problem. My PC is: Core 2 Duo T6400 @ 2.0 GHz Memory: 3GB OS: Dual boot (Ubuntu and XP)
And here are the benchmarks for exactly the same compiled exe running on both OS: Windows XP SP3 =========================================== > ThriftTest.exe client -b -n 1 Total time: 00:00:00.1406250 Time per run: 109.375ms > ThriftTest.exe client -b -n 10 Total time: 00:00:00.1875000 Time per run: 14.0625ms > ThriftTest.exe client -b -n 50 Total time: 00:00:00.3125000 Time per run: 5.9375ms Ubuntu Release 9.04 (Kernel Linux 2.6..28-11) =========================================== > mono ThriftTest.exe client -b -n 1 Total time: 00:00:00.9833640 Time per run: 824.054ms > mono ThriftTest.exe client -b -n 10 Total time: 00:00:08.5421880 Time per run: 839.6776ms > mono ThriftTest.exe client -b -n 50 Total time: 00:00:42.1698610 Time per run: 840.48598ms (the first test in XP takes longer because it was the first run and maybe the server has to cache something) I restarted the PC and ran the tests twice in Ubuntu. The System Monitor does not show neither a CPU overload, nor a big memory consumption, nor a high load on Eth (it's everything running in the same machine anyway). Does anyone know if there's something like the JetBrains .NET Profiler for linux? (It's a tool that profiles the app execution and tells you the hot spots where the runtime is most of the time.) Next step to test? Thanks!, Diego
