Author Topic: eBox and Hyperthreading Performance  (Read 2545 times)

Travis

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
eBox and Hyperthreading Performance
« on: August 08, 2010, 03:15:50 pm »
I have a eBox server setup on a Intel Atom D510 (Dual Core) and I was noticing a lot of lag in the system.  I was going through trying different options to speed it up and turned off the hyper-threading to see how it would perform.  To my amazement the system is roughly 50% faster while under load.  The eBox administration website is more responsive and my rsync transfers over my gigabit network went from 26MiB to 52MiB.

I did some quick searching around the internet and I discover that hyper-threading comes with some pretty hefty drawbacks.  Resources such as cache, the floating point unit, etc, are shared - so if these parts of the processor are being heavily utilised by one process then the other process may not get its fair share of these shared resources.  While the throughput of the processor can (*in some applications*) increase up to 30% using hyper-threading this comes with a lot of latency.  Some applications latency doesn't matter and this is not one of them.  

This latency was rearing its ugly head on my system even more because I'm using software raid and it was causing a snowball effect.  All the cores were waiting for a shared resource (my hard drive) and the mdadm software raid system was left scrambling trying to maintain itself.

While hyper-threading might be good for some things it appears eBox isn't one of them.

I know we all want our servers to perform at their peak efficiency so I figured I would let everyone know my findings.
« Last Edit: August 08, 2010, 03:19:34 pm by Travis »

jquintao

  • Board Moderator
  • Zen Hero
  • *****
  • Posts: 648
  • Karma: +14/-0
  • jquintao
    • View Profile
    • NetSol
Re: eBox and Hyperthreading Performance
« Reply #1 on: August 11, 2010, 02:42:54 am »
Hi Travis,

Jose Calvo said that in new version (1.5 beta, future 2.0 stable):

- We have replaced the old configuration backend (gconf) with a brand new one based in redis. This improves the user experience in general, making the web interface more responsive. It also decreases the installation and boot times.
- The migration scripts of each package are now run on the same perl interpreter, this reduces the installation time of the packages.

You can read more about this in: http://forum.ebox-platform.com/index.php?topic=4490.0

If possible, try install the new version in your machine...

Thanks,
Jorge Quintao