Wednesday, September 20
I'm setting up Kyon as a template so that I can copy it to create Yuki and Mikuru. Having installed the operating system (CentOS 4.4), I'm now installing all the bits and pieces that Minx relies on. Such as Python 2.5RC2.
I downloaded and configured it, and then ran make:
real 0m54.730sI wondered how that would compare with the new munu servers:
real 1m48.209sWhat the fnord?! That's one heck of a difference, particularly when you realise that Kyon is running under VMware. Same version of GCC, by the way.
real 2m12.971sAbout what I'd expect - the new servers are a little faster than the old ones.
But Kyon just zooms along - if what you want to do is compile Python. It's kind of a slug for desktop use. How does it go for other server-type stuff?
Let's see. I have a little Python benchmark. Nothing complicated, but it gives the interpreter a little test. Old server, Python 2.4.2:
real 0m3.373sNew server, Python 2.4.3:
real 0m3.028sOkay, slightly faster, as expected.
Kyon, Python 2.3.4 (which is what CentOS 4.4 comes with, the slackers):
real 0m0.919sUm. That's a pretty significant improvement.
Just one small problem:
The timer is off... Apparently by a factor of two, though it varies a bit. I increased the loop count by a factor of ten and hand-timed it. Computer says 9 seconds, I say 18.
That's gonna really suck for my development work.
Python under Cygwin gives 1.5 seconds for my benchmark, and I confirmed that (roughly) with hand-timing, so the Core 2 really is a lot faster for Python code. Just not quite as fast as Kyon wants me to believe.
Update: A bit of digging came up with this, which doesn't help much, because I've set Kyon up as a dual-processor machine. But it at least explains what's going on.
50 queries taking 0.1465 seconds, 280 records returned.
Powered by Minx 1.1.6c-pink.