sysfs-devices-system-cpu 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. What: /sys/devices/system/cpu/
  2. Date: pre-git history
  3. Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
  4. Description:
  5. A collection of both global and individual CPU attributes
  6. Individual CPU attributes are contained in subdirectories
  7. named by the kernel's logical CPU number, e.g.:
  8. /sys/devices/system/cpu/cpu#/
  9. What: /sys/devices/system/cpu/kernel_max
  10. /sys/devices/system/cpu/offline
  11. /sys/devices/system/cpu/online
  12. /sys/devices/system/cpu/possible
  13. /sys/devices/system/cpu/present
  14. Date: December 2008
  15. Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
  16. Description: CPU topology files that describe kernel limits related to
  17. hotplug. Briefly:
  18. kernel_max: the maximum cpu index allowed by the kernel
  19. configuration.
  20. offline: cpus that are not online because they have been
  21. HOTPLUGGED off or exceed the limit of cpus allowed by the
  22. kernel configuration (kernel_max above).
  23. online: cpus that are online and being scheduled.
  24. possible: cpus that have been allocated resources and can be
  25. brought online if they are present.
  26. present: cpus that have been identified as being present in
  27. the system.
  28. See Documentation/cputopology.txt for more information.
  29. What: /sys/devices/system/cpu/cpu*/cache/index*/cache_disable_X
  30. Date: August 2008
  31. KernelVersion: 2.6.27
  32. Contact: mark.langsdorf@amd.com
  33. Description: These files exist in every cpu's cache index directories.
  34. There are currently 2 cache_disable_# files in each
  35. directory. Reading from these files on a supported
  36. processor will return that cache disable index value
  37. for that processor and node. Writing to one of these
  38. files will cause the specificed cache index to be disabled.
  39. Currently, only AMD Family 10h Processors support cache index
  40. disable, and only for their L3 caches. See the BIOS and
  41. Kernel Developer's Guide at
  42. http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/31116-Public-GH-BKDG_3.20_2-4-09.pdf
  43. for formatting information and other details on the
  44. cache index disable.
  45. Users: joachim.deguara@amd.com