cpu Questions

4

Solved

So I have 50 tabs opened on chromium, but that is using too much memory and some of the CPU. How can I have all those concurrent researches I am doing opened but not clog my machine? I think ther...
Spermaceti asked 30/6, 2013 at 4:9

7

Solved

What is the equivalent of Linux's /proc/cpuinfo on FreeBSD v8.1? My application reads /proc/cpuinfo and saves the information in the log file, what could I do to get similar information logged on F...
Maghutte asked 3/11, 2010 at 2:39

4

Solved

As most of you know CPUs are not well designed to do floating point calculation in contrast to GPUs. I am wondering how to use GPU's power without any abstraction layer or driver. Can I program for...
Competent asked 22/7, 2010 at 7:49

2

Solved

I save the last hidden layer of Bert for my following process using pickle on GPU. # output is the last hidden layer of bert, transformed on GPU with open(filename, 'wb') as f: pk.dump(output, f) ...
Woodenhead asked 21/7, 2020 at 6:47

8

I need an example code for accessing CPU temperature in python. I'm running windows 7, BTW.
Laspisa asked 16/7, 2010 at 6:59

1

How can I train an XGBoost model on a GPU but run predictions on CPU without allocating any GPU RAM? My situation: I create an XGBoot model (tree_method='gpu_hist') in Python with predictor='cpu_pr...
Inmate asked 3/12, 2020 at 16:45

8

Solved

Are shift operations O(1) or O(n) ? Does it make sense that computers generally require more operations to shift 31 places instead of shifting 1 place? Or does it make sense the number of operati...
Anacreontic asked 31/1, 2012 at 17:5

32

Solved

I have this script, but I do not know how to get the last element in the printout: cat /proc/cpuinfo | awk '/^processor/{print $3}' The last element should be the number of CPUs, minus 1.
Earwax asked 25/6, 2011 at 22:52

7

Solved

R is single-threaded. Using R, how to check how many cores/threads are running R in Windows and Linux? (Or how many Rs are running) Using R, how to check the usage of each core that is running R...
Care asked 15/11, 2017 at 22:28

9

I have created AVD, but when I try to run android program, it is showing an error Your CPU does not support VT-x I enabled virtualization technology in BIOS, but still this error comes up whe...

7

In my computer I am trying to get the CPU temperature. Searching on StackOverflow I found this: C:\WINDOWS\system32>wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CurrentTemp...
Revanche asked 28/9, 2016 at 5:8

0

I've been reading through the "What every programmer should know about memory" paper and got confused with the measurements performed on pages 20-21 of the document. Sequential Read Acces...
Yettie asked 25/8, 2023 at 12:22

3

Solved

When I am using intel_pstate, I found that I can not change the cpu frequency with command: sudo cpupower frequency-set -f SomeValue I know the reason is that intel_pstate's governors (powersave a...
Prehensile asked 18/4, 2020 at 9:14

4

Solved

I was just thinking, how do machines interpreter binary code? All I understand is your code get's turned into 1 and 0's so the machine can understand them, but how do they do that? Is it just a nor...

15

Solved

I want to check which CPU architecture is the user running, is it i386 or X64 or AMD64. I want to do it in C#. I know i can try WMI or Registry. Is there any other way apart from these two? My proj...
Stilted asked 20/4, 2009 at 9:49

3

Solved

I want to see CPU temperature and CPU load in Windows. I have to write it myself not using software like Core Temp. How can I access this information? I read a similar question to mine, but there ...
Twum asked 7/11, 2011 at 4:43

5

Solved

I have to make a recommendation to management regarding whether or not we should spend the extra money to purchase new computers with Intel i7 CPUs (i7 950s) or whether we should buy Intel Core 2 Q...
Reliant asked 1/10, 2009 at 18:30

4

Solved

I am wanting to get a list of all the process names, CPU, Mem Usage and Peak Mem Usage. I was hoping I could use ctypes. but I am happy to hear any other options. Thanks for your time.
Kinsley asked 1/5, 2013 at 21:6

2

Solved

I am taking a course of system tools and architecture in my University and the first class is about how CPU and RAM talks and how CPU process the data. As explained by the Prof, CPU has an ALU (Ari...
Mannose asked 7/1, 2014 at 19:40

7

Solved

Ive seen the same question asked on linux and windows but not mac (terminal). Can anyone tell me how to get the current processor utilization in %, so an example output would be 40%. Thanks
Prejudicial asked 15/6, 2015 at 21:42

5

Solved

Suppose I'm running a (power)shell on a Windows machine. Is there a one-liner I could use to get: The number of physical processor cores and/or The max number of in-flight threads, i.e. cores * hy...
Shay asked 6/11, 2021 at 21:29

2

I have a directory of <20MB pdf files (each pdf represents an ad) on an AWS EC2 large instance. I'm trying to upload each pdf file to S3 using ruby and DM-Paperclip. Most files upload successf...
Pareira asked 15/8, 2013 at 1:14

1

I have an Intel Sapphire Rapids CPU with 56 cores. By default, SNC is not enabled. When core 0 accesses a certain memory address A, I think the following will happen: One of the cache agent is acc...
Sinuate asked 20/11, 2022 at 20:45

8

Solved

I'd like my program to read the cache line size of the CPU it's running on in C++. I know that this can't be done portably, so I will need a solution for Linux and another for Windows (Solutions fo...
Polak asked 29/9, 2008 at 19:35

2

Solved

Cache lines are often 64 bytes, other sizes also exist. My very simple question is: is there any theory behind this number, or is it just the result of the vast amount of tests and measurements th...
Unbearable asked 30/3, 2016 at 15:11

© 2022 - 2024 — McMap. All rights reserved.