使用 Solaris 获取 Sparc 和 x86 处理器的 L2 缓存大小的命令

发布于 2024-12-24 16:33:52 字数 65 浏览 5 评论 0原文

在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

微凉 2024-12-31 16:33:52

我无法访问 Solaris 盒子来测试这一点,但您也许可以使用 prtpicl

prtpicl -v -c cpu | grep l2-cache-size

如需更便携的选项,请查看 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.

prtpicl -v -c cpu | grep l2-cache-size

For a more portable option, check out the lstopo command from the hwloc project.

方觉久 2024-12-31 16:33:52

在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文