higher speed mutexes
David Xu
davidxu at freebsd.org
Tue Jan 18 15:40:34 PST 2005
Julian Elischer wrote:
>
>
> David Xu wrote:
>
>> I have put it at:
>> http://people.freebsd.org/~davidxu/libthread.fbsd.tgz
>>
>> Anyone wants to see how fast supersmack can be on FreeBSD
>> should try it.
>
>
>
> Oh come on.. give us some numbers :-)
>
Linuxthreads:
============================================
Script started on Mon Jan 17 19:16:10 2005
davidxu at alona:/home/davidxu/super-smack-1.2/smacks> super-smack
./update-select.smack 10 1000
Query Barrel Report for client smacker
connect: max=12ms min=2ms avg= 7ms from 10 clients
Query_type num_queries max_time min_time q_per_s
select_index 10000 3 0 1425.98
update_index 10000 5 0 1425.98
davidxu at alona:/home/davidxu/super-smack-1.2/smacks> super-smack
./update-select.smack 10 1000
Query Barrel Report for client smacker
connect: max=10ms min=2ms avg= 6ms from 10 clients
Query_type num_queries max_time min_time q_per_s
select_index 10000 7 0 1423.48
update_index 10000 4 0 1423.48
davidxu at alona:/home/davidxu/super-smack-1.2/smacks> ./sup-[K[K[K[K[K[Ksuper-smack
./update-select.smack 50 10000
Query Barrel Report for client smacker
connect: max=59ms min=2ms avg= 30ms from 50 clients
Query_type num_queries max_time min_time q_per_s
select_index 500000 26 0 1283.48
update_index 500000 23 0 1283.48
davidxu at alona:/home/davidxu/super-smack-1.2/smacks> exit
exit
Script done on Mon Jan 17 19:24:40 2005
=============================================
libthread:
Script started on Mon Jan 17 19:27:21 2005
davidxu at alona:/home/davidxu/super-smack-1.2/smacks> super-smack
./update-select.smack 10 1000
Query Barrel Report for client smacker
connect: max=12ms min=2ms avg= 6ms from 10 clients
Query_type num_queries max_time min_time q_per_s
select_index 10000 4 0 1650.14
update_index 10000 4 0 1650.14
davidxu at alona:/home/davidxu/super-smack-1.2/smacks> super-smack
./update-select.smack 10 1000
Query Barrel Report for client smacker
connect: max=15ms min=2ms avg= 7ms from 10 clients
Query_type num_queries max_time min_time q_per_s
select_index 10000 5 0 1664.94
update_index 10000 3 0 1664.94
davidxu at alona:/home/davidxu/super-smack-1.2/smacks> super-smack
./update-select.smack 10 1000[K[K[K[K[K[K50 10000
Query Barrel Report for client smacker
connect: max=82ms min=2ms avg= 40ms from 50 clients
Query_type num_queries max_time min_time q_per_s
select_index 500000 25 0 1485.13
update_index 500000 17 0 1485.13
davidxu at alona:/home/davidxu/super-smack-1.2/smacks> exit
exit
Script done on Mon Jan 17 19:33:41 2005
More information about the freebsd-threads
mailing list