Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2008 19:34:38 +0530
From:      Channa <channa.kad@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   FreeBSD performance on single CPU.
Message-ID:  <515c64960811190604w4f22e5a0ta4ed07323fcb697d@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I am using FreeBSD malloc from the current working branch.
I hope its jemalloc.

I tested it on a single CPU machine i could get the following results

# ./malloc-test  1024 10000000 4

Starting test...
Thread -1096811184 adjusted timing: 102.369100 seconds for 10000000
requests of 1024 bytes.
Thread -1101005488 adjusted timing: 103.212512 seconds for 10000000
requests of 1024 bytes.
Thread -1098908336 adjusted timing: 103.491399 seconds for 10000000
requests of 1024 bytes.
Thread -1094714032 adjusted timing: 103.605124 seconds for 10000000
requests of 1024 bytes.

I checked the result in the FreeBSD mailing list link given below:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-12/msg00294.html

The jemalloc gives very good results. Is that the performance is good
only on SMP?

Or on single processor also it should perform well?

But on single CPU i could see bad results.

Could anyone help me out?

Thanks in Advance,
Channa



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