Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
3.0 KiB

  1. ****************************************************************************
  2. * Interrupt-Affinity Filter
  3. *
  4. * Author: Chris Prince ([email protected])
  5. * Date: Summer, 1999
  6. ****************************************************************************
  7. DESCRIPTION:
  8. ============
  9. This Interrupt-Affinity Filter (IntFiltr) allows a user to change the
  10. CPU-affinity of the interrupts in a system.
  11. Using this utility, you can direct any device's interrupts to a specific
  12. processor or set or processors (as opposed to always sending interrupts to
  13. all the CPUs in the system). Note that different devices _can_ have
  14. different interrupt-affinity settings. This utility will work on any
  15. machine, regardless of what processor or interrupt controller or HAL is
  16. used.
  17. Obviously, this tool is only interesting for multi-processor machines.
  18. USAGE:
  19. ======
  20. There are 2 things that must be done in order to use IntFiltr. These are:
  21. (1) Install the filter [only needs to be done once per machine]
  22. (2) Configure the filter [whenever you want to change settings]
  23. 1. Installing the IntFiltr
  24. --------------------------
  25. To install IntFiltr, complete the following steps:
  26. (a) Copy intfiltr.sys to your %SYSTEMROOT%\system32\drivers directory.
  27. [intfiltr.sys is located in the \Install subdirectory of this package]
  28. (b) Update your registry to include the changes listed in intfiltr.reg
  29. To make these changes, you can just run 'regedit intfiltr.reg'.
  30. [intfiltr.reg is located in the \Install subdirectory of this package]
  31. 2. Configuring the IntFiltr
  32. ---------------------------
  33. To configure IntFiltr, run intfiltr.exe (located in the \Config
  34. subdirectory of this package).
  35. First, highlight a device in the 'Devices' listbox. Then you can use the
  36. 'Add Filter' and 'Remove Filter' buttons to turn interrupt filtering on
  37. and off, respectively, for the selected device. When IntFiltr is
  38. installed on a device, the string "InterruptAffinityFilter" will appear
  39. in the 'Upper Filters' listbox.
  40. You can use the 'Set Mask' button to set the CPU-affinity for the selected
  41. device's interrupts, or you can use the 'Delete Mask' button to remove a
  42. device's CPU-affinity mask from the registry. Beware that if no
  43. CPU-affinity mask exists for a device, installing IntFiltr on a
  44. device will have no useful effect.
  45. The button marked "Don't Restart Device When Making Changes" is intended
  46. for advanced users. You can use this button to change a device's filter
  47. settings without restarting the selected device. Note that while this
  48. button is checked, any change you make will not take effect until the next
  49. time the device is restarted (which will usually not occur until the next
  50. reboot).
  51. IMPORTANT NOTE: Although _all_ the machine's devices will appear in the
  52. 'Devices' list, it only makes sense to install IntFiltr on top of devices
  53. that have interrupt resources. To see which devices have interrupt
  54. resources, you can go into Device Manager and select View -> Resources By
  55. Type.