Giampaolo Rodola

Results 377 comments of Giampaolo Rodola

This should now be fixed by https://github.com/giampaolo/psutil/commit/c7c7bbcfc762d73a50d3cb2ad6f277dad7bb9a6b which dynamically increase the buffer size instead of immediately giving up with `ENOMEM`. Please confirm if you have the chance.

Thanks @dbwiddis. Feel free to make a PR if you want. I'm not sure when I'll have time to get to this.

This is something I'd do if some sort of (monthly?) funding/sponsorship is granted.

Mmm... I'm not sure I fully understand how this would work in practice. If you're interested in "performance" vs. "efficiency" I guess you're supposed to know which CPUs (IDs) are...

> However, with these new "hybrid" CPUs, it's pretty much a given that your CPU-intensive workload will get migrated to the performance cores How do you tell the OS to...

Hello Daniel, thanks for providing such details. > Windows (10+) exposes an efficiencyClass member of the PROCESSOR_RELATIONSHIP field (only for ProcessorCore) that gives a relative efficiency measure, e.g., 1 =...

Info that we could get: ``` $ LD_SHOW_AUXV=1 whoami AT_SYSINFO_EHDR: 0x7ffc64f4b000 AT_HWCAP: bfebfbff AT_PAGESZ: 4096 AT_CLKTCK: 100 AT_PHDR: 0x55cbe7a32040 AT_PHENT: 56 AT_PHNUM: 13 AT_BASE: 0x7f1ad77d4000 AT_FLAGS: 0x0 AT_ENTRY: 0x55cbe7a34700 AT_UID:...

Wow! I had no idea there were so many! (ashamed) Thanks a lot for doing this. It's something I really appreciate. Out of curiosity: did you use some tool?

Hmm. I understand the pain, but I'm not thrilled at the idea of returning different results depending on what user is logged in. Have you tried searching if there are...

I suspect we may avoid access denied if we change the permissions passed to `CreateFile`. E.g. what happens if you change `FILE_SHARE_READ | FILE_SHARE_WRITE` to `FILE_SHARE_READ`? ```c for (devNum =...