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

  • Home
  • SEARCH
  • 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 1086799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:51:29+00:00 2026-05-16T22:51:29+00:00

Any recommendations out there for Windows application tuning resources (books web sites etc.)? I

  • 0

Any recommendations out there for Windows application tuning resources (books web sites etc.)?

I have a C++ console application that needs to feed a hardware device with a considerable amount of data at a fairly high rate. (buffer is 32K in size and gets consumed at ~800k bytes per second)

It will stream data without under runs, except when I perform file IO like opening a folder etc… (It seems to be marginally meeting its timing requirements).

Anyway.. a good book or resource to brush up on realtime performance with windows would be helpful.

Thanks!

  • 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-16T22:51:29+00:00Added an answer on May 16, 2026 at 10:51 pm

    The best you can hope for on commodity Windows is “usually meets timing requirements”. If the system is running any processes other than your target app, it will occasionally miss deadlines due scheduling inconsistencies. However, if your app/hardware can handle the rare but occasional misses, there are a few things you can do to reduce the number of misses.

    1. Set your process’s priority to REALTIME_PRIORITY_CLASS
    2. Change the scheduler’s granularity to 1ms resolution via the timeBeginPeriod() function (part of the Windows Multimedia libraries)
    3. Avoid as many system calls in your main loop as possible (this includes allocating memory). Each syscall is an opportunity for the OS to put the process to sleep and, consequently, is an opportunity for the non-deterministic scheduler to miss the next deadline

    If this doesn’t get the job done for you, you might consider trying a Linux distribution with realtime kernel patches applied. I’ve found those to provide near-perfect timing (within 10s of microseconds accuracy over the course of several hours). That said, nothing short of a true-realtime OS will actually give you perfection but the realtime-linux distros are much closer than commodity Windows.

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

Sidebar

Related Questions

Any JavaScript pros out there? I've got a div that I've managed to fade
I'm wondering if there are any recommendations, best practises or top-tips for integrating a
There seem to be quite a number of OBJ mesh file loaders out there
Ok here is my challenge, I have some <h1> tags that I want to
We have an 'enterprisey' system with a scheduling component which gets floored if any
Any portable code that uses bitfields seems to distinguish between little- and big-endian platforms.
In our app, we have some scrolling credits in a ChildWindow . When showing
I'm trying to work out in my head the best way to structure a
Hey guys, I have a bit of a weird problem. I have a jquery
I'm designing a cross-platform map editor for an application I've developed, and I'm unsure

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.