全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 1605|回复: 5
打印 上一主题 下一主题

怎么修改/proc/cpuinfio和lscpu里面的CPU型号

[复制链接]
跳转到指定楼层
1#
发表于 2021-12-14 13:35:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式



好不容易在甲骨文arm上安装了,他这个软件还要验证cpu型号??
我需要改成飞腾8核这样才能用。怎么办啊mjj们

  1. root@kylin:~# cat /proc/cpuinfo
  2. processor        : 0
  3. model name        : ARMv8 CPU
  4. BogoMIPS        : 50.00
  5. Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
  6. CPU implementer        : 0x41
  7. CPU architecture: 8
  8. CPU variant        : 0x3
  9. CPU part        : 0xd0c
  10. CPU revision        : 1

  11. processor        : 1
  12. model name        : ARMv8 CPU
  13. BogoMIPS        : 50.00
  14. Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
  15. CPU implementer        : 0x41
  16. CPU architecture: 8
  17. CPU variant        : 0x3
  18. CPU part        : 0xd0c
  19. CPU revision        : 1
复制代码

  1. root@kylin:~# cat /usr/share/kmre/cpuinfo-phytium-d2000_8
  2. Processor        : AArch64 Processor rev 0 (aarch64)
  3. processor        : 0
  4. model name        : Phytium,D2000/8
  5. bogomips        : 3456.00
  6. Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 thumb neon vfp half fastmult edsp vfpv3 vfpv4 idiva idivt tls
  7. CPU implementer        : 0x70
  8. CPU architecture: 8
  9. CPU variant        : 0x1
  10. CPU part        : 0x663
  11. CPU revision        : 3

  12. processor        : 1
  13. model name        : Phytium,D2000/8
  14. bogomips        : 3456.00
  15. Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 thumb neon vfp half fastmult edsp vfpv3 vfpv4 idiva idivt tls
  16. CPU implementer        : 0x70
  17. CPU architecture: 8
  18. CPU variant        : 0x1
  19. CPU part        : 0x663
  20. CPU revision        : 3

  21. processor        : 2
  22. model name        : Phytium,D2000/8
  23. bogomips        : 3456.00
  24. Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 thumb neon vfp half fastmult edsp vfpv3 vfpv4 idiva idivt tls
  25. CPU implementer        : 0x70
  26. CPU architecture: 8
  27. CPU variant        : 0x1
  28. CPU part        : 0x663
  29. CPU revision        : 3

  30. processor        : 3
  31. model name        : Phytium,D2000/8
  32. bogomips        : 3456.00
  33. Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 thumb neon vfp half fastmult edsp vfpv3 vfpv4 idiva idivt tls
  34. CPU implementer        : 0x70
  35. CPU architecture: 8
  36. CPU variant        : 0x1
  37. CPU part        : 0x663
  38. CPU revision        : 3

  39. processor        : 4
  40. model name        : Phytium,D2000/8
  41. bogomips        : 3456.00
  42. Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 thumb neon vfp half fastmult edsp vfpv3 vfpv4 idiva idivt tls
  43. CPU implementer        : 0x70
  44. CPU architecture: 8
  45. CPU variant        : 0x1
  46. CPU part        : 0x663
  47. CPU revision        : 3

  48. processor        : 5
  49. model name        : Phytium,D2000/8
  50. bogomips        : 3456.00
  51. Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 thumb neon vfp half fastmult edsp vfpv3 vfpv4 idiva idivt tls
  52. CPU implementer        : 0x70
  53. CPU architecture: 8
  54. CPU variant        : 0x1
  55. CPU part        : 0x663
  56. CPU revision        : 3

  57. processor        : 6
  58. model name        : Phytium,D2000/8
  59. bogomips        : 3456.00
  60. Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 thumb neon vfp half fastmult edsp vfpv3 vfpv4 idiva idivt tls
  61. CPU implementer        : 0x70
  62. CPU architecture: 8
  63. CPU variant        : 0x1
  64. CPU part        : 0x663
  65. CPU revision        : 3

  66. processor        : 7
  67. model name        : Phytium,D2000/8
  68. bogomips        : 3456.00
  69. Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 thumb neon vfp half fastmult edsp vfpv3 vfpv4 idiva idivt tls
  70. CPU implementer        : 0x70
  71. CPU architecture: 8
  72. CPU variant        : 0x1
  73. CPU part        : 0x663
  74. CPU revision        : 3
复制代码

  1. root@kylin:~# lscpu
  2. 架构:                           aarch64
  3. CPU 运行模式:                   32-bit, 64-bit
  4. 字节序:                         Little Endian
  5. CPU:                             2
  6. 在线 CPU 列表:                  0,1
  7. 每个核的线程数:                 1
  8. 每个座的核数:                   2
  9. 座:                             1
  10. NUMA 节点:                      1
  11. 厂商 ID:                        ARM
  12. 型号:                           1
  13. 型号名称:                       Neoverse-N1
  14. 步进:                           r3p1
  15. BogoMIPS:                       50.00
  16. NUMA 节点0 CPU:                 0,1
  17. Vulnerability Itlb multihit:     Not affected
  18. Vulnerability L1tf:              Not affected
  19. Vulnerability Mds:               Not affected
  20. Vulnerability Meltdown:          Not affected
  21. Vulnerability Spec store bypass: Vulnerable
  22. Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
  23. Vulnerability Spectre v2:        Not affected
  24. Vulnerability Tsx async abort:   Not affected
  25. 标记:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
  26.                                  ssbs
复制代码
来自 6#
 楼主| 发表于 2021-12-14 16:29:20 | 只看该作者
我找到了我找到了!!!!!   
https://www.bilibili.com/read/cv12531334
2#
发表于 2021-12-14 13:38:21 | 只看该作者
这个估计不好改。读取硬件实时生成的。可能要改linux源码?
3#
 楼主| 发表于 2021-12-14 14:05:28 | 只看该作者
nisekoi 发表于 2021-12-14 13:38
这个估计不好改。读取硬件实时生成的。可能要改linux源码?

非常难受
5#
发表于 2021-12-14 14:29:59 | 只看该作者
单改型号也没用把 指令集的问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-12-19 05:26 , Processed in 0.059450 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表