Bloggin in the UK RSS 2.0
 Tuesday, February 05, 2008
A few weeks ago one of the devs in the trading system team hit a performance issue, running four threads on a multicore machine ran slower than running when processor affinity was turned on.

Turning on processor affinity basically was limiting his application to one core so he expected a performance hit.

After three weeks of searching he found the answer: smartheap

He was making extensive use of the STL and with the default VS memory allocation and a multi processor machine this was causing problems.

The answer was to replace the standard library with smartheap (there are other alternatives) and this fixed the problem.

I am blogging about this in case there are other people out banging heads on desks trying to work out why their app is slower on a multicore server rather than a single core one.

If you nose around this blog you will see I am not a C++ developer so don't ask me for any more detail.

Tuesday, February 05, 2008 3:00:43 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -

Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview
Archive
<July 2008>
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008
Charlie Barker
Sign In
Statistics
Total Posts: 135
This Year: 16
This Month: 0
This Week: 0
Comments: 45
Themes
Pick a theme:
All Content © 2008, Charlie Barker
DasBlog theme 'Business' created by Christoph De Baene (delarou)