使用 Solaris 获取 Sparc 和 x86 处理器的 L2 缓存大小的命令
在 Sparc 和 x86 处理器上运行的 Solaris 操作系统上,用于了解 CPU 二级缓存大小的命令是什么。
what is the command to know the L2 cache size of CPU on Solaris operating system running on Sparc and x86 processors.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我无法访问 Solaris 盒子来测试这一点,但您也许可以使用 prtpicl。
如需更便携的选项,请查看 lstopo来自 hwloc 项目的命令。
I don't have access to a Solaris box to test this out, but you might be able to achieve this using prtpicl.
For a more portable option, check out the lstopo command from the hwloc project.
在 sparc 上,只需运行 fpversion (/product/SUNWspro/bin/fpversion),它将打印显示 L1 和 L2 缓存大小的 xcache 代码生成选项。然后阅读 http://docs.oracle.com/cd /E19205-01/819-5267/bkazt/index.html 来理解它。
On sparc just run fpversion (/product/SUNWspro/bin/fpversion) and it will print the xcache code-generation options that show the L1 and L2 cache sizes. Then read http://docs.oracle.com/cd/E19205-01/819-5267/bkazt/index.html to understand it.