Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 09:53:40 +0100 (CET)
From:      Konrad Heuer <kheuer@gwdg.de>
To:        Dimitar Peikov <mitko@rila.bg>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Swapping performance
Message-ID:  <20020307094856.K17236-100000@gwdu60.gwdg.de>
In-Reply-To: <20020307104518.0f73740b.mitko@rila.bg>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 7 Mar 2002, Dimitar Peikov wrote:

> I start some performance tests on -stable and on SuSE 7.1 / 2.4.17. I
> don't comment about 'bzero' performance, but when RAM is over, Linux
> is much faster. I have no idea what is the algorithm of swapping but it s=
eems that the granularity of swapping pieces is the key or the importance o=
f swapping memory blocks of certain task. Ooo I forgot to say that the both=
 machines have the same hardware, IBM 300PL, 256 RAM and no other tasks run=
ning. I had to run these tests to choose the fastest platform for building =
our software indexes, which requires a lot of math and memory operations.
>
> --- with bzero ---
> Linux$ time ./malloc_test
> *#
> real    0m37.640s
> user    0m1.370s
> sys     0m2.950s
> Linux$
>
> FreeBSD$ time ./malloc_test
> *#
> real    0m46.640s
> user    0m2.280s
> sys     0m2.550s
> FreeBSD$
>
> --- without bzero ---
> Linux$ time ./malloc_test
> *#
> real    0m6.371s
> user    0m0.450s
> sys     0m1.510s
> Linux$
>
> FreeBSD$ time ./malloc_test
> *#
> real    0m11.571s
> user    0m1.150s
> sys     0m1.830s
> FreeBSD$

Just to make sure: What about disk layout and paging space location? Both
systems will behave best when paging space location is near to the
"beginning" of the disks.

My measurements in this area are some years old; at that time FreeBSD did
a much better job when klow on free memory.

Best regards
Konrad

Konrad Heuer                                    Personal Bookmarks:
Gesellschaft f=FCr wissenschaftliche
   Datenverarbeitung mbH G=D6ttingen              http://www.freebsd.org
Am Fa=DFberg, D-37077 G=D6ttingen                   http://www.daemonnews.o=
rg
Deutschland (Germany)

kheuer@gwdg.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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