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
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
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 2010
Charlie Barker
Sign In
Statistics
Total Posts: 172
This Year: 14
This Month: 1
This Week: 1
Comments: 77
Themes
Pick a theme:
All Content © 2010, Charlie Barker
DasBlog theme 'Business' created by Christoph De Baene (delarou)