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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:57:57+00:00 2026-05-23T11:57:57+00:00

We have created a multi-threaded application which process/parse big files (few hundred MB’s) simultaneously.

  • 0

We have created a multi-threaded application which process/parse big files (few hundred MB’s) simultaneously. Application runs perfectly. But my client is disappointed the way cores of machine being used. He tried to watch the performance monitor and came to us with report. His point is if application is multi-threaded why CPU average utilization is below 25%. According to him, if nothing is running on system and file processing is taking time, CPU utilization should be more than 80-90%. I am not sure what answer or technical outcome will satisfy him. Please suggest.

EDIT

I have one multi-threaded application which loads the file from disc. After file is loaded in memory, i click on process button, and it starts parsing the file in memory. Lets assume for now, parsing is done in one thread. While app is parsing the data, my average CPU usage not fully used. What reason I can give to justify why CPU is not completely used. Any kind of report will do or technical documentation will help.

  • 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-05-23T11:57:58+00:00Added an answer on May 23, 2026 at 11:57 am

    The question is very vague, but here are some general guidelines.

    Disk IO is the main bottleneck unless the file processing is really fancy. Loading several files simultaneously will make this even worse, as the head needs to jump around (for non-SSD drives), and data will come into memory even slower. If you load four files at 100 MB each, that would already take around 4 seconds when done serially – and longer when done in parallel. Your program might or might not wait during that time and just don’t process data at all.

    So if your parallelization is mainly to process several files (one file per worker thread), then you might want to serialize the loading in one thread.

    If you can work one file at a time, maybe your processing can be split up to work on different parts of the file, or the processing itself can take advantage of multiple CPUs (largely depends on your application).

    If you need to write back data to disk – then this will be part of the game, too.

    I think the main point here is minimizing IO delay (and a reasonable splitting of the workload between different CPUs).

    Edit:

    Of course take RAM into account – if you need to swap out, this will kill your performance instantly.

    The best way is of course to go and profile…

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

Sidebar

Related Questions

I have created a multi-threaded application that runs fine on every system except for
Here's the scenario: I have a multi threaded java web application which is running
I have a multi-threaded application in C# which tries to write to a TextBox
I am trying to create a multi threaded PHP application right now. I have
I have a multi-threaded application that is using pthreads. I have a mutex() lock
I am creating a multi-threaded application. However, I have experienced lots of unexpected behavior
I have a multi-threaded application with (4) thread i want to know how much
I have a multi-threaded application in a POSIX/Linux environment - I have no control
I have a multi-threaded app which is running under Linux 2.6.30 on an 8
I'm writing a wxwidget multi-threaded application. But the code crashes randomly of which 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.