Date: Wed, 19 Jan 2005 19:21:06 +0800 From: David Xu <davidxu@freebsd.org> To: Julian Elischer <julian@elischer.org> Cc: freebsd-threads@freebsd.org Subject: Re: higher speed mutexes Message-ID: <41EE42A2.8070906@freebsd.org> In-Reply-To: <41EDA778.70605@elischer.org> References: <41DCEA91.6040402@he.iki.fi> <41DCFD2F.2040207@freebsd.org> <41DD01CE.70004@he.iki.fi> <41DFED9A.8070202@freebsd.org> <41E0256A.1000801@he.iki.fi> <41ED18D5.80304@freebsd.org> <41ED4B68.6090803@elischer.org> <41ED9E6D.4000509@freebsd.org> <41EDA778.70605@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote: > > > David Xu wrote: > >> 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@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@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@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@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@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@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@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@alona:/home/davidxu/super-smack-1.2/smacks> exit exit > > > > out of curiosity, where do libthr and libpthread come in? > ============================================ libpthread: Script started on Wed Jan 19 19:01:39 2005 davidxu@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=8ms avg= 8ms from 10 clients Query_type num_queries max_time min_time q_per_s select_index 10000 4 0 1265.38 update_index 10000 3 0 1265.38 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./update-select.smack 10 1000 Query Barrel Report for client smacker connect: max=8ms min=2ms avg= 6ms from 10 clients Query_type num_queries max_time min_time q_per_s select_index 10000 4 0 1296.71 update_index 10000 5 0 1296.71 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./p[Kupdate-select.smack 50 10000 Query Barrel Report for client smacker connect: max=57ms min=1ms avg= 35ms from 50 clients Query_type num_queries max_time min_time q_per_s select_index 500000 27 0 1267.85 update_index 500000 23 0 1267.85 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> exit exit Script done on Wed Jan 19 19:09:10 2005 ======================================= libthr: Script started on Wed Jan 19 18:52:36 2005 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./update-select.smack 10 1000 Query Barrel Report for client smacker connect: max=14ms min=2ms avg= 7ms from 10 clients Query_type num_queries max_time min_time q_per_s select_index 10000 3 1 1512.39 update_index 10000 3 0 1512.39 davidxu@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=3ms avg= 8ms from 10 clients Query_type num_queries max_time min_time q_per_s select_index 10000 5 0 1537.13 update_index 10000 3 0 1537.13 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./update-select.smack 50 10000 Query Barrel Report for client smacker connect: max=93ms min=1ms avg= 47ms from 50 clients Query_type num_queries max_time min_time q_per_s select_index 500000 23 0 1354.00 update_index 500000 19 0 1354.00 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> exit exit Script done on Wed Jan 19 18:59:59 2005 ============================================= libc_r: Script started on Wed Jan 19 19:10:05 2005 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./update-select.smack 10 1000 Query Barrel Report for client smacker connect: max=9ms min=2ms avg= 6ms from 10 clients Query_type num_queries max_time min_time q_per_s select_index 10000 4 0 1377.04 update_index 10000 3 0 1377.04 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./update-select.smack 10 1000 Query Barrel Report for client smacker connect: max=8ms min=2ms avg= 5ms from 10 clients Query_type num_queries max_time min_time q_per_s select_index 10000 7 0 1364.92 update_index 10000 4 0 1364.92 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./ui[Kpdate-select.sd[Kmack 1[K50 10000 Query Barrel Report for client smacker connect: max=37ms min=5ms avg= 28ms from 50 clients Query_type num_queries max_time min_time q_per_s select_index 500000 20 1 1305.62 update_index 500000 19 2 1305.62 davidxu@alona:/home/davidxu/super-smack-1.2/smacks>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41EE42A2.8070906>