cpu-cores Questions

8

Solved

I want to obtain the number of cores available in Julia. Currently I am doing the following: using PyCall @pyimport psutil nCores = psutil.cpu_count() This calls a Python function. I would like,...
Blindfish asked 13/1, 2015 at 20:35

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

4

Solved

I just had a quick question on how processors and threads work. According to my current understanding, a core can only perform 1 process at a time. But we are able to produce a thread pool(lets say...
Hydrofoil asked 9/1, 2016 at 4:35

5

Solved

I run my spark application in yarn cluster. In my code I use number available cores of queue for creating partitions on my dataset: Dataset ds = ... ds.coalesce(config.getNumberOfCores()); My qu...
Dialectal asked 20/11, 2017 at 18:50

2

Solved

I am currently using a Macbook Pro with i7, which has 8 cores. However, I am not able set the CPU cores to more than 1. When I run docker run --cpus=2 "my-image" I get the following error: dock...
Wiliness asked 19/6, 2017 at 22:53

4

Solved

I want to spawn a certain number of tasks based on the cores that a machine has. Is there anything in Rust that can find the number of cores, or should I just run external commands and parse the ou...
Winded asked 3/3, 2014 at 19:7

4

I found references to hart on page 35 of the RISC-V 2.1 spec. However, I could not find a definition for hart in this document. Does hart refer to a hardware-thread or something more sinister?
Garibald asked 8/3, 2017 at 16:33

7

Solved

for example AMD Ryzen 5 1600 has 6 (2 logical cores per physical) cores with Clockspeed: 3.2 GHz Turbo Speed: 3.6 GHz . In contrast, Intel Core i5-7600 has 4 cores with Clockspeed: 3.5 GHz Turbo S...
Aimee asked 25/5, 2017 at 16:54

1

Which logical processor belongs to the P-core group and which to E-core group? My first idea was to just check the base clock for each logical processor and then assume that the lowest base clock b...
Bijou asked 13/11, 2021 at 14:55

1

Solved

How can I check particular cpu core belongs to P-core or E-core group? Is there any way to list information about Performance/Energy cores in a running Linux x86_64 alder lake system? Like, Printin...
Bern asked 15/2, 2022 at 7:54

5

Solved

I am developing an Android application that shows the CPU load per core and memory consumption. For CPU load I am reading /proc/stat and for memory -> /proc/meminfo. However I see that the number o...
Certify asked 14/3, 2014 at 12:45

2

Solved

I was just trying to get a clearer understanding of what exactly multiple cores are being used for, and what the difference is between multiple cores and multiple CPUs. I was trying to understand i...
Verwoerd asked 10/5, 2021 at 0:54

11

Solved

Is there a way via .NET/C# to find out the number of CPU cores? PS This is a straight code question, not a "Should I use multi-threading?" question! :-)
Minestrone asked 9/10, 2009 at 6:59

7

Solved

What is the difference between a core and a processor? I've already looked for it on Google, but I only get definitions for multi-core and multi-processor, which is not what I am looking for....
Nitin asked 7/10, 2013 at 13:13

3

Solved

I'm using Django with Celery 3.0.17 and now trying to figure out how many celery workers are run by default. From this link I understand that (not having modified this config) the number of workers...
Auxiliaries asked 9/4, 2013 at 19:36

5

This is a tough one. I need to use a command to output the exact number of cores from my servers. My tests: X: On a Windows server with 4 processors (sockets) and 2 cores each without HT. Y: O...
Massimiliano asked 1/9, 2016 at 14:30

3

Solved

I'm using Tensorflow on a cluster and I want to tell Tensorflow to run only on one single core (even though there are more available). Does someone know if this is possible?
Holcomb asked 4/7, 2016 at 15:8

3

Solved

How can I get CPU Load per core (quadcore cpu), in C#?
Consequential asked 30/5, 2010 at 12:35

0

I have an 8-Core Intel i7 CPU, but running anim_save (https://www.rdocumentation.org/packages/gganimate/versions/1.0.6/topics/anim_save) to save a ggplot2+gganimate object (https://github.com/thoma...
Verdieverdigris asked 9/9, 2020 at 18:47

2

Solved

Is there a way to tell Bazel when building how many CPU cores it can use? TL;DR I build TensorFlow on a VMware Workstation and being a virtual machine I can adjust the number of processors and co...
Marianmariana asked 13/1, 2016 at 0:27

2

Solved

I have a shared machine with 64 cores on which I have a big pipeline of Keras functions that I want to run. The thing is that it seems that Keras automatically uses all the cores available and I ca...
Undemonstrative asked 26/9, 2017 at 8:19

1

Solved

When comparing two different VM series in Azure, I see that one has Cores and the other one vCPUs. Keeping aside the number of Cores/CPUs, Memory and Processor Type (Intel Xeon E/Platinum etc), wha...
Stablish asked 11/3, 2020 at 22:58

5

I'm writing a program in C on windows that needs to run as many threads as available cores. But I dont know how to get the number of cores. Any ideas?
Counterproposal asked 11/4, 2010 at 23:57

1

I am currently trying to improve upon an existing mechanism (to compare data from 2 sources, implemented in perl5) and would like to use perl6 instead. My target data volume range is about 20-30 G...
Zellers asked 29/8, 2018 at 16:37

3

Solved

As far as I know, all IO requests and other asynchronous tasks are done by libuv in nodejs. I want to know if libuv is using threading. If it is, is it using all available core or not?
Orgulous asked 15/10, 2017 at 9:32

© 2022 - 2024 — McMap. All rights reserved.