Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2005 13:39:27 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Jason Evans <jasone@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: New malloc ready, take 42
Message-ID:  <43B3768F.40704@freebsd.org>
In-Reply-To: <2E722A13-C880-41B6-A84C-3927C8FE90E5@freebsd.org>
References:  <E1E22E2D-A6D5-49CC-9649-C37C50F0443B@freebsd.org>	<43B36B83.7080404@freebsd.org>	<32729773-B07C-4AEE-92D0-62ACE0E3AFEB@freebsd.org>	<43B36EB9.70205@freebsd.org> <2E722A13-C880-41B6-A84C-3927C8FE90E5@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jason Evans wrote:
> 
> On Dec 28, 2005, at 9:06 PM, David Xu wrote:
> 
>>
>> I am using patch file jemalloc_20051222c.diff. I don't use
>> MALLOC_OPTIONS and don't create link malloc.conf in /etc.
>> I have tested super-smack with following command:
>>
>> %super-smack ./select-key.smack 10 5000
>> Query Barrel Report for client smacker1
>> connect: max=4ms  min=1ms avg= 2ms from 10 clients
>> Query_type      num_queries     max_time        min_time         q_per_s
>> select_index    100000  0       0       15895.76
> 
> 
> Can you please try again with MALLOC_OPTIONS=aj, and (similar to the  
> tests I ran):
> 
> MALLOC_OPTIONS=aj super-smack ./select-key.smack 4 10000
> 
> It will be helpful to know whether your hardware behaves differently  
> for the same test.  Also, I don't have any working hardware right  now, 
> so I can't try to reproduce your results.
> 
> Thanks,
> Jason
> 
> 
OK, I have linked /etc/malloc.conf to aj, this changes the performance:

%super-smack ./select-key.smack 4 10000
Query Barrel Report for client smacker1
connect: max=23ms  min=0ms avg= 5ms from 4 clients
Query_type      num_queries     max_time        min_time        q_per_s
select_index    80000   0       0       20480.54
%super-smack ./select-key.smack 4 10000
Query Barrel Report for client smacker1
connect: max=1ms  min=0ms avg= 0ms from 4 clients
Query_type      num_queries     max_time        min_time        q_per_s
select_index    80000   0       0       19734.14
%super-smack ./select-key.smack 4 10000
Query Barrel Report for client smacker1
connect: max=1ms  min=0ms avg= 0ms from 4 clients
Query_type      num_queries     max_time        min_time        q_per_s
select_index    80000   0       0       19846.49
%super-smack ./select-key.smack 4 10000
Query Barrel Report for client smacker1
connect: max=1ms  min=0ms avg= 0ms from 4 clients
Query_type      num_queries     max_time        min_time        q_per_s
select_index    80000   0       0       20045.10
%super-smack ./select-key.smack 4 10000
Query Barrel Report for client smacker1
connect: max=0ms  min=0ms avg= 0ms from 4 clients
Query_type      num_queries     max_time        min_time        q_per_s
select_index    80000   0       0       19544.33
%

but it still can not beat phkmalloc. :-)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43B3768F.40704>