Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Windows 2000 PCI Bus bandwidth

Windows 2000 PCI Bus bandwidth

Scheduled Pinned Locked Moved System Admin
csharpc++visual-studiohelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kitty5
    wrote on last edited by
    #1

    I have a PCI/Altera card that I'm communicating with through the PCI bus of my PC with some MDI C++ software that I developed through Visual Studio 2005. I'm not sure if this is the right forum for this but here goes: How does one make sure that the software/GUI gets full control of the PCI Bus bandwidth until it has completed it's task? Is there a function I can call in my C++ program prior to starting any data collection or do I have to set something in the PC OS? In other words, I don't want the Windows 2000 handing over control to other things that want it until my program is completed. I only need about 10-12 secs of control.... Once the executable is running I actually go into task manager and set this process's priority to RealTime. I found this helped with this one PC which is running Windows 2000. However, I tried to see if I can run the same code on a different PC (same OS Windows 2000, and doing the RealTime priority) but it seems as on the original PC what took 9sec to run the new PC it took 14 sec and that's way too long. Needless to say I'm loosing data all over the place.... Please help...:confused:

    Kitty5

    D 1 Reply Last reply
    0
    • K kitty5

      I have a PCI/Altera card that I'm communicating with through the PCI bus of my PC with some MDI C++ software that I developed through Visual Studio 2005. I'm not sure if this is the right forum for this but here goes: How does one make sure that the software/GUI gets full control of the PCI Bus bandwidth until it has completed it's task? Is there a function I can call in my C++ program prior to starting any data collection or do I have to set something in the PC OS? In other words, I don't want the Windows 2000 handing over control to other things that want it until my program is completed. I only need about 10-12 secs of control.... Once the executable is running I actually go into task manager and set this process's priority to RealTime. I found this helped with this one PC which is running Windows 2000. However, I tried to see if I can run the same code on a different PC (same OS Windows 2000, and doing the RealTime priority) but it seems as on the original PC what took 9sec to run the new PC it took 14 sec and that's way too long. Needless to say I'm loosing data all over the place.... Please help...:confused:

      Kitty5

      D Offline
      D Offline
      Dan Neely
      wrote on last edited by
      #2

      afaik you can't get that level of control over the hardware. You could try a much faster dedicated PC, but windows isn't a realtime OS, and you can't force it to absolutely favor any one application over the remainder of the system. I don't know if a realtime OS (some linux variants qualify) would give you absolute control over the bus either. You could also try reducing the amount of hardware on the PCI bus. Im not sure that just PCI cards that use it though, so you'd need to research the mobo chipset to find out what if anything else is routed through it. Newerboards would probably be less likely to run devices off it instead of doing a direct Device-Northbridge-Cpu connection.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups