FreeBSD on the Athlon64 in 64bit vs Pentium4 3.2E
veliath writes "Came by a comparison from about three weeks ago, between two systems running FreeBSD. One is an Athlon64 running FreeBSD in 64bit mode and the other a Pentium4 3.2E running FreeBSD in 32bit mode."
This is the same article as was linked to from the FreeBSD site a few weeks ago. Everyone's probably read this already. Basically, the Athlon64 is faster.
The article says that Intel's HT doesn't improve performance much. Isn't this expected, considering that IIRC FreeBSD's kernel threads still suck and most of the programs are single threaded anyway?
Nice comparision, but what about dual or quad processor systems? I have recently installed both FreeBSD 4.9 and 5.2.1 on (almost) identical dual-Xeon servers. Both are operating as if they had 4 processors (due to HTT). How would the Athelon, etc. stack up with this setup (seriously, I'd like to know)? Maybe HTT realy shines on multiple CPU systems, not just mon-processor? Maybe.
BTW- FreeBSD (either version) on a brand new Dell rack-mount server, with hardware RAID, 2GB RAM, dual processor (of course) makes for a very fast server! I have them configured mostly as web servers, a number of Perl generated dynamic pages (ad serving mostly), rsync, CVS repository, Cyrus and Sendmail (w/SASL AUTH and TLS/SSL), MySQL, and a custom rsync staging/production environment. When I run top, it sure is nice to every now and then see 2 processors at almost 100% utilization, yet also show 50% idle. I have no benchmarks to report, alas these are production machines in use.
Wow, coupled with the ATI Radeon 9600ASC, I'd be the ultimate in cool, whilst getting my Nethack on.
I mean, don't get me wrong. I'm all about benchmarks. I love fast kit. I own an Athlon64, so seeing it win even makes me feel good about myself. OTOH, the performance differences tend not to be huge, and Athlon64 doesn't win every benchmark. Wake me up when I can afford 8 GB of RAM. That's when Athlon 64 will really matter.
I noticed they used the AMD64 3200, But the AMD64 3200+ only has 1/2 the cache compared to the 3400+, that extra cache should boost the build process even more.
Toms hardware has nice review and benchmarks for the 3400 vs the P4 3.4.
Also anyone notice, in both articles, P4's clean house on synthetic benchmarks, but real world (build process) the AMD cleans house.
One page, no annoying Flash advertisements, no tedious space-filling fluff, solid information.
It's the antithesis of a Tom's review!
--
Don't like it? Respond with words, not karma.
In the end I think the initial point is made with this review though, and that is that 64-bit does make a difference to the "average user" as well as the power user or administrator, but that performance advantage may not be evident in all situations. When under heavy load or dealing with large blocks of data, the Athlon64 (and we can assume that the Opteron and Athlon64-FX also apply) in 64-bit mode achieves superior performance to the same machine in IA32 (x86) mode. This is not so much because of the 64-bit addressing as it is the fact that there are twice as many general-purpose registers available.
It was supposed to be out on the 29th of March. :(
If we ignore the cases where the 32-bit code has been optimised via ASM, it looks like the athlon64 is noticably faster on 64-bit code, and often much faster. This backs up what a number of people had been saying, that even if 64-bit code takes up more space the extra registers are a bonus (I'm thinking it's quite likely that gcc hasn't got around to using the various new instructions available yet)
Combination - fun iPhone puzzling
I just got fed up reading article where Athlon64 are compared in 32bit mode on windows. Ok, I know that 64bits version of Windows XP is not finished yet, and that most of the "avarage bob user" will be going to use windows. But why has no benchmarking site (like Tom's Hardware) ever tried to make some {Linux64,BSD64,whatever-64} benchmark, juste to show us what benefits of the x86_64 architecture are already measurable ?
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
*salivate* If only I could afford one of the damn things...
This is my sig. There are many like it, but this one is mine.
Your google link is not very compelling, the mailing list link links off to a broken link, the fefe benchmark shows that FreeBSD and especially NetBSD perform very well (did you read it all? They had huge improvements in a very short time.) and the NASA story seems to have no relevence to BSD (can you enlighten us on that?).
The problem is, that at any one time, you can point at different versions of two kernels and get wildly varying results. Linux 2.6 performance is very impressive though.
The stable generic BSD's in the past have performed very well and consistent, often better than Linux. The improvements in NetBSD show that great things are coming and they will make it to FreeBSD eventually.
I think Linux and BSD will be neck and neck soon, as far as performance goes. As they both get closer to theoretical walls. Not that tricks like those found with NetBSD and FreeBSD won't be engineered.
Your google link is not very compelling
Oh, so a couple of BSD developers said this:
>> No, in theory increased performance should come from increased
>> parallelism with no increased overhead. Any increased overhead is a
>> bug. Linux 2.4 runs a thread safe kernel with less overhead than we
>> have in 4.x. Its possible.
>
> How are we going to achieve increased paralellism w/o increased overhead?
> Discounting redesigning algo's which would have been a win in the
> non-parallel kernel as well. A mutex is far more expensive than an spl.
> You have to protect against more things. Of course overhead is going to
> go up.
I have no idea really. All I know is that linux 2.4 is more parallel
than 5.x is today, yet it outperforms 4.x for things like system call
latency and networking packets/sec through a single interface.
Therefore it must be possible.
And you aren't "compelled"? OK...
The mailing list link did show Linux 2.6 had triple the exec throughput and triple the context switch speed and half the syscall latency. NetBSD had similar numbers to FreeBSD. Unfortunately it is broken now, yes.
The fefe benchmark still showed Linux ahead of the BSDs for the far majority of tests. They also have the tested (2.6) kernel released now. FreeBSD 5-STABLE is a long way off.
And the NASA story is just a nice little one I like for all those elite FreeBSD developers who, a couple of years ago were rubbishing those pimply faced linux kids and their crappy SMP scalability methods that wouldn't get very far and would end up in a big tangle of locks and single threaded performance would suck etc etc.
Guess what? Linux scaled to 512 CPUs, the core kernel and vm code is still pretty straightfoward, and single threaded performance is still very high.
And FreeBSD 5 on the other hand, is a big tangle of crap, it has taken big hits in single threaded performance, and it is still far less scalable than probably even Linux 2.4 (a modified version of which runs this 512CPU beauty).
I think Linux and BSD will be neck and neck soon, as far as performance goes
They used to be neck and neck, now Linux is in front and accelerating. Let me tell you, the theoretical walls for multiprocessor scalability are a *long* way further away from Free and NetBSD as they are from Linux.
1. No compare has been ever made between Windows and Windows 64, AFAIK
2. This crappy beta's installer doesn't boot on my machine. And we're not the only one having problem do get it work.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
You can stifle free speech all you want, but you won't change my opinion that FreeBSD simply isn't anywhere as good as Debian in terms of reliability, ease-of-use and maintenance and user community. And I'm not saying this because I used Debian for very long - I gave FreeBSD a try at about the same time as Debian. I'm not saying this because I'm a GPL bigot either - my opinion is purely technical.
From a related article referenced in the story (I'll post the excerpt because you're a stupid troll and aren't going to RTFA):
"Before I continue, I'd like to elaborate on why I chose FreeBSD as a benchmarking platform. The original reason was that it supports both the AMD64 and IA32 (i386) architectures, and the purpose of the benchmarking project was to compare performance between an Athlon 64 machine in both i386 and AMD64 modes. I also wanted to compare these two setups with a Pentium4 3.2E system to discover if Hyper-Threading or 64-bit extensions were more important to computing power. Microsoft operating systems available at the time of the project were not able to run in AMD64 mode, and even if they were, there was no 64-bit capable benchmarking software to use on a Windows platform. So the first goal was to find an OS that could use these two machines in the required modes, and the second goal was to find relevant benchmarking methods that could show the performance difference between the configurations. GNU/Linux was an option (specifically Gentoo Linux), but it wasn't mature enough at the time of testing and it didn't offer much to me in the way of benchmarking. NetBSD was also a consideration because it supports so many architectures and has been working with AMD64 longer than most other OSes. This was particularly attractive to me because I could also benchmark machines that were based on the SPARC, POWER, and MIPS architectures and compare them all. This would have worked except for the fact that NetBSD didn't have an official release for AMD64 when I was ready to test, so I'd have to have used experimental code. I also would have trouble getting the same exact code onto each machine because it changes so quickly. FreeBSD already had an AMD64 release (two, actually) and it worked terrifically for my purposes. When I started testing I was using 5.2-RELEASE, but switched to and retested with 5.2.1-RELEASE when it became available. FreeBSD was perfect because I could use the actual release (guaranteeing the same age and quality of the code for both AMD64 and i386), and the ports tree had a number of excellent benchmark tests to choose from.
The FreeBSD base system comes with OpenSSL, which offers an excellent benchmarking mode. It also includes the old Unix time command, which is essential for stopwatch tests. So, all things considered, FreeBSD was the best operating system for the project."
I guess FreeBSD can't be dead if it had a more stable and mature AMD64 port than other operating systems did.
-Jemanything pro-BSD gets modded up.. anything pro Linux gets modded down.
I dont know why this got modded down. Anti-Linux stuff gets modded up constantly here.. but anyone who defends such attacks gets modded down.
Hypocrisy.
Ivan's benchmarking document is complete.
I love to use OpenBSD, for lots of reasons. I would love top performance as a bonus, but I use OpenBSD for where I like it to fit.
I'm getting into Gentoo now, so I'm happy there too.
I don't understand why people get so upset over what performs the best. The BSD's and Linux have benefited from each other and in the end we all get to choose what fits our needs the best.
Linux 2.6 excellent performance will probably benefit the BSD's in some way, even if just urging the BSD developers on and in the future no doubt the opposite will be true.
NetBSD made great improvements due to Felix's benchmark.
They used to be neck and neck, now Linux is in front and accelerating.
Have you looked at the finished benchmark document?
There is an area where Linux is 100 times faster than FreeBSD and yet NetBSD is 400 times faster than FreeBSD.
This benchmark that you covet so highly, is being largely discredited, to the point where the author is considering taking it off the net and re-doing it properly.
Linux 2.6 is pretty new, FreeBSD 4.9 takes very cautious steps forward and 5.x is an unstable work in progress. NetBSD made massive strides towards O(1) scaling in various areas, in a very short time.
Any fucking idiot can look at loads of benchmark numbers, find one small area where his OS of choice beats the "opposing" OS and then declare his OS the greatest.
Did you look at the real World benchmarks?
Judging by the bonnie++ and bytebench results alone, all Linux systems should have had a score far superior to the BSD's, but that is not the case. Linux 2.4 seems to be bound by some scalability issues, but they seem to be mostly resolved in the 2.6 series.
Doesn't look like Linux killing the BSD's and accelerating to me.
A clear winner here is FreeBSD 4.9, with Linux 2.6 not so far behind.
So, to sum up: You discredit an experimental branch of FreeBSD by linking to developer comments that are essentially regarding a moment in time. You link to the fefe benchmark and claim Linux to be far superior, when in fact it compares OS at very different stages of development and shows BSD's making huge improvements in just 2 weeks! And you link to a story about NASA deploying Linux to 512 processors, as a way of rubbing some people nose into the fact that Linux can actually scale well!
You are declaring a winner when the race in not yet finished. And here is a tip. The race never will be finished and during the never ending race, the lead will swap many times in many different areas. Stupid insecure people will continue to seek at least small areas where their OS shines, so as to feel good about themselves and belittle others.
You need to get over yourself.
BTW, I am not trying to say BSD rocks and Linux sucks, I am merely pointing out, that both have strengths and weaknesses (as compared to each other), in small areas. It is the overall performance of the required application that matters.
Yes, this is a troll, but Win2K does not have a AMD64 build. Even Current win2002 is beta on AMD64
There is an area where Linux is 100 times faster than FreeBSD and yet NetBSD is 400 times faster than FreeBSD.
Yes, this is the per-char IO tests. If you knew anything about it, you would know that per-char IO throughput tests don't mean much here. FreeBSD probably goes to the kernel for each char, while NetBSD does a lot of buffering.
Any fucking idiot can look at loads of benchmark numbers, find one small area where his OS of choice beats the "opposing" OS and then declare his OS the greatest.
I said Linux had better exec, context switch and system call overhead. This is undisputed and confirmed by the results. You obviously got blined with rage by this and translated it into "Linux is the greatest". No such thing, zealot.
And you link to a story about NASA deploying Linux to 512 processors, as a way of rubbing some people nose into the fact that Linux can actually scale well!
Actually, proof. Some people still think FreeBSD "scales" better than Linux. Some people who know better try to perpetuate this myth too.
You are declaring a winner when the race in not yet finished. And here is a tip. The race never will be finished and during the never ending race, the lead will swap many times in many different areas. Stupid insecure people will continue to seek at least small areas where their OS shines, so as to feel good about themselves and belittle others.
You need to get over yourself.
All I did was post a couple of links. You're the one getting all insecure. I never said Linux was the winner. I said it is ahead now and it is.
time is included in most Linux distros.
So it OpenSSL.
I think someone cant get over the fact that *BSD is dead.