Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Gigaflops, 'Peak Perf.', on Github codespaces #314

Closed
Manamama opened this issue Dec 12, 2024 · 2 comments
Closed

No Gigaflops, 'Peak Perf.', on Github codespaces #314

Manamama opened this issue Dec 12, 2024 · 2 comments

Comments

@Manamama
Copy link

Manamama commented Dec 12, 2024

@6Y3GRwDjtGVo4nAe2 ➜ ~/Downloads/cpufetch (master) $ cp cpufetch /home/codespace/.local/bin/
@6Y3GRwDjtGVo4nAe2 ➜ ~/Downloads/cpufetch (master) $ cpufetch
perf_event_open: Permission denied
[ERROR]: You may not have permission to collect stats.
Consider tweaking /proc/sys/kernel/perf_event_paranoid or running as root
[VERSION]: cpufetch v1.06-39-ga0c0 (Linux x86 / x86_64 build)

          '###############
             ,#############            Name:         AMD EPYC 7763 64-Core
                      .####            Hypervisor:   Microsoft Hyper-V
              #.      .####            uArch:        Zen 3
            :##.      .####            Technology:   7nm
           :###.      .####            Max Freq:     Unknown
           #########.   :##            Cores:        8 cores (16 threads)
           #######.       ;            AVX:          AVX,AVX2
                                       FMA:          FMA3
    ###     ###      ###   #######     L1i Size:     32KB (256KB Total)
   ## ##    #####  #####   ##     ##   L1d Size:     32KB (256KB Total)
  ##   ##   ### #### ###   ##      ##  L2 Size:      512KB (4MB Total)
 #########  ###  ##  ###   ##      ##  L3 Size:      32MB
##       ## ###      ###   ##     ##   Peak Perf.:   Unknown
##       ## ###      ###   #######

@6Y3GRwDjtGVo4nAe2 ➜ ~/Downloads/cpufetch (master) $ cpufetch --version
cpufetch v1.06-39-ga0c0 (Linux x86 / x86_64 build)
@6Y3GRwDjtGVo4nAe2 ➜ ~/Downloads/cpufetch (master) $ sudo cpufetch
perf_event_open: No such file or directory

          '###############
             ,#############            Name:         AMD EPYC 7763 64-Core
                      .####            Hypervisor:   Microsoft Hyper-V
              #.      .####            uArch:        Zen 3
            :##.      .####            Technology:   7nm
           :###.      .####            Max Freq:     Unknown
           #########.   :##            Cores:        8 cores (16 threads)
           #######.       ;            AVX:          AVX,AVX2
                                       FMA:          FMA3
    ###     ###      ###   #######     L1i Size:     32KB (256KB Total)
   ## ##    #####  #####   ##     ##   L1d Size:     32KB (256KB Total)
  ##   ##   ### #### ###   ##      ##  L2 Size:      512KB (4MB Total)
 #########  ###  ##  ###   ##      ##  L3 Size:      32MB
##       ## ###      ###   ##     ##   Peak Perf.:   Unknown
##       ## ###      ###   #######

@6Y3GRwDjtGVo4nAe2 ➜ ~/Downloads/cpufetch (master) $

On standard:

neofetch

OS: Ubuntu 20.04.6 LTS x86_64
Kernel: 6.5.0-1025-azure
CPU: AMD EPYC 7763 (4) @ 3.2GHz
Memory: 796MiB / 15981MiB
Shell: /bin/bash 5.0.17
Python: 3.11.5
------
Uptime: 32 mins
Resolution: 1024x768
Packages: 1335 (dpkg)
Terminal: /dev/pts/0
------
CPU Usage: 0%
Disk (/): 27G / 31G (91%)
------
Host: Virtual Machine 7.0
Public IP: 4.180.183.244
User: codespace@codespaces-...

This does not help: echo 1 | sudo tee /proc/sys/kernel/perf_event_paranoid

@Manamama
Copy link
Author

Sorry, non-issue, as forgot:

@6Y3GRwDjtGVo4nAe2 ➜ ~/Downloads/cpufetch (master) $ ./cpufetch --verbose
[WARNING]: You are running an hypervisor. Please note that it will likely tamper your results, so do not post an issue if you find anything incorrect
[WARNING]: Can't read frequency information from cpuid (needed level is 0x00000016, max is 0x0000000D). Using udev

@Manamama Manamama closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2024
@Manamama
Copy link
Author

Mistake on my part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant