On Sun, 09 Dec 2001 12:42:50 +0100
Poul-Henning Kamp <[EMAIL PROTECTED]> wrote:

> 
> There are many effects that could cause this, for instance if FreeBSD
> manages to align things differently in relation to the CPU cache you
> could get some very interesting waste of time that way.

Yes, I agree that in this case performance lost can be found in CPU Cache, but this 
can be true and when run on Linux, isn't it?

> 
> Based on the data you show me, I can't really say that something is
> wrong or right either way.

Before I post this, I've got several experiments about that and the bottleneck was 
memory operations. The rest of my algorithm got near the same results. When perform 
only (malloc/free) operations without any touch of that allocated memory, there is no 
problem. The problem becames when you try to access it and only for the first memory 
hit. There is no mather if only one byte or whole memory block should be accessed, the 
difference is constantly the same.  Or the problem is on all FreeBSD boxes installed 
near me?

> 
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> [EMAIL PROTECTED]         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.


-- 
Dimitar Peikov
Programmer Analyst
Globalization Group
"We Build e-Business"  

RILA Solutions  
27 Building, Acad.G.Bonchev Str.  
1113 Sofia, Bulgaria  

phone: (+359 2) 9797320 
phone: (+359 2) 9797300 
fax:   (+359 2) 9733355  
http://www.rila.com 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to