Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 23:59:15 -0700
From:      <soralx@cydem.org>
To:        matrix@itlegion.ru, oceanare@pacific.net.sg
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: Multiprocessor system VS one processor system
Message-ID:  <200403152359.15768.soralx@cydem.org>
In-Reply-To: <026901c40b22$2c557c50$0c00a8c0@artem>
References:  <CD1C1AC62C4DA944914E36E7B3DD904313DB17@sestosrv004p.ad.octapharma.se> <40568DC4.7020209@pacific.net.sg> <026901c40b22$2c557c50$0c00a8c0@artem>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hm..
> Let me make up  a case.
>  Two boxes:
> 1) Dual CPU  X Mhz with Y KB of cache
> 2) Sinnge CPU with 2X Mhz and 2Y KB of cache
>
> Which one is faster under FreeBSD? I think the
> second one, because SMP overhead is gone.

There is also a context switching overhead for single CPU, isn't there?
And, if you're talking about P4's - yes, they have larger L2 cahce, but
their L1 cache is smaller compared to PIII's. When working simultaneously
on dual-CPU system, 2 separate processes can store more of their own data
in the faster L1 cache.

Timestamp: 0x4056A434
[SorAlx]  http://cydem.org.ua/



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