Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7960657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:49:01+00:00 2026-06-04T04:49:01+00:00

So, I just got a new 16-core server with AMD 6212 processors. I have

  • 0

So, I just got a new 16-core server with AMD 6212 processors. I have code that I’ve run on a variety of Intel processors as well. It uses locked queues to distribute work to pthreads, which then write the work back to shared memory with locks on the writes as well. I’m primarily compute bound.

On Intel processors, as I increase the number of threads, my performance immediately increases. Going from 1 to 2 threads nearly doubles performance.

With the same code on the AMD processors, I get no gain (a slight slowdown) with even 4 threads. But, when I use 128 threads, I see a 6x speedup.

Does anyone have an idea what that might be happening?

As for the OS specs, if I type:

cat /proc/version

I get:

Linux version 2.6.32-5-amd64 (Debian 2.6.32-39) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Thu Nov 3 03:41:26 UTC 2011
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T04:49:02+00:00Added an answer on June 4, 2026 at 4:49 am

    So, this hasn’t been 100% resolved yet, but it appears that the problem was related to memory access. The code has no dynamic memory allocation during most of the run, but threads were allocating about 100 small chunks of memory on the heap when they started up. In small sample versions of the program I was able to eliminate the bottlenecks by allocating the memory for each thread on the stack instead of the heap.

    Without looking too deeply into architecture issues it appears that the allocated memory might have gotten interleaved so that the different threads were sharing the same memory, thus destroying parallel performance.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just got a new quad core computer and noticed that nmake is only
I have an existing application (with MySQL DB). I just got a new requirement
I just got a shiny, brand-new Debian server handed to me by our Systems
when I'm trying to run blogengine with new theme i just got this error
Just got a new Windows laptop, installing emacs23 on it. My previous computers have
We just got new servers for our new system and I want to know
Just got the new iPad, and when I touch the microphone and say a
I've just got the new Visual Studio 2010 Ultimate and Javascript Intellisense is not
I just got myself a new toy, a phone with Windows Mobile 6. I'm
I'm new to Django and just just got django-registration up and running. Could anyone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.