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 525905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:43:15+00:00 2026-05-13T08:43:15+00:00

When I run a single-threaded program that i have written on my quad core

  • 0

When I run a single-threaded program that i have written on my quad core Intel i can see in the Windows Task Manager that actually all four cores of my CPU are more or less active. One core is more active than the other three, but there is also activity on those. There’s no other program (besided the OS kernel of course) running that would be plausible for that activitiy. And when I close my program all activity an all cores drops down to nearly zero. All is left is a little “noise” on the cores, so I’m pretty sure all the visible activity comes directly or indirectly (like invoking system routines) from my program.

Is it possible that the OS or the cores themselves try to balance some code or execution on all four cores, even it’s not a multithreaded program? Do you have any links that documents this technique?

Some infos to the program: It’s a console app written in Qt, the Task Manager states that only one thread is running. Maybe Qt uses threads, but I don’t use signals or slots, nor any GUI.

Link to Task Manager screenshot: http://img97.imageshack.us/img97/6403/taskmanager.png

This question is language agnostic and not tied to Qt/C++, i just want to know if Windows or Intel do to balance also single-threaded code on all cores. If they do, how does this technique work?

All I can think of is, that kernel routines like reading from disk etc. is scheduled on all cores, but this won’t improve performance significantly since the code still has to run synchronous to the kernel api calls.

EDIT

Do you know any tools to do a better analysis of single and/or multi-threaded programs than the poor Windows Task Manager?

  • 1 1 Answer
  • 2 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-05-13T08:43:15+00:00Added an answer on May 13, 2026 at 8:43 am

    A single threaded process will only ever run on a single core at any given moment in time.

    But it’s possible for the OS to migrate a thread from one core to another. While the OS will try to keep a thread on the same core, if the last core the thread ran on is busy and another core is free, the OS can migrate the thread.

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

Sidebar

Related Questions

I run a very simple, single-threaded java program. When I check the threads using
I have a program that I run and in the middle I get this
I am tasked to modify a synchronous C program so that it can run
I have written a simple single threaded client server application in Visual C++ .
I have a thread that creates COM objects that require a single threaded apartment.
to run a single file you can run in mysql .\ filename or you
I have multiple websites run on single database. My question related table Structure is
I have two physically-separate MySQL databases on which I have to run a single
To run a command on a single file, I recently realized I can do
I want to run parallel codes on single pc with core i7 cpu I

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.