Comments (6)
For example P-4 Celeron Willamette
Facts:
Produced only for socket 478 mPGA
techonlogy: 180nm
FSB 400mhz
http://www.cpu-world.com/CPUs/Celeron/TYPE-Celeron (Willamette).html
# cpu-z
Processor : Intel(R) Celeron(R) CPU 1.80GHz
Code name : P-4 Celeron (Willamette-128)
Cache size: 128 KB
Socket : 478 mPGA
Bus speed : 400 MHz
Technology: 180 nm Arch: 32 bits
Cores : 1
Threads : 2
Flags :
fpu vme de pse tsc msr pae
mce cx8 apic mtrr sep pge mca
cmov pat pse36 clflush dts acpi mmx
fxsr sse sse2 ss ht tm
from libcpuid.
Actually it might not be a good idea, i'm writing a shell script to handle every situation. Perhaps it could be accepted as an extra in about 2 months?
from libcpuid.
Yes, I'm thinking libcpuid has to remain a purely CPU detection library. We discussed that previously in issue #8 . Additional, catalogue-like data, is welcome in a non-code format, like a SQL dump, a XML, or anything else suitable to the task (indeed, whatever you choose, it's going to have a lot of repetitive info).
from libcpuid.
I see.
By the way, I think there is a bug regarding HyperThreading (num_logical_cpus > 1) in p4 cpus. As you can see from the example above there is no way such a primitive p4 celeron can do hyperthreading, but has the HT flag... which is misleading. Right I'm with another processor (but quite similar), as you can see here:
This is the output 'lscpu'... 1 thread:
Architecture: i686
CPU op-mode(s): 32-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 15
Model: 2
Model name: Intel(R) Celeron(R) CPU 2.50GHz
Stepping: 9
CPU MHz: 2500.000
CPU max MHz: 2500.0000
CPU min MHz: 312.5000
BogoMIPS: 5001.32
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
Some interesting pages:
http://unix.stackexchange.com/questions/33450/checking-if-hyperthreading-is-enabled-or-not
Interesting pages:
http://unix.stackexchange.com/questions/33450/checking-if-hyperthreading-is-enabled-or-not
http://fibrevillage.com/sysadmin/155-how-to-tell-if-cpu-hyperthreading-enabled-on-linux
https://git.kernel.org/cgit/utils/util-linux/util-linux.git/tree/sys-utils/lscpu.c
from libcpuid.
Actually even an Atom (Diamonville) processor has the HT flag, and it shows 'num_logical: 2' which is not the case...
from libcpuid.
Well I was wrong, Atom (Diamondville) processors do have 2 'threads'.
Having said that, I have a fix for this, I'll make a pull request later. I'll add a test for Pentium 4 Prescott 3.2GHz with HT enabled, so you can see.
from libcpuid.
Related Issues (20)
- Missing detection of SHA_NI and RDSEED on AMD HOT 1
- Report TSC multiplier HOT 2
- CMake build script not in 0.5.0 tarball release HOT 1
- conda-forge package HOT 5
- CPU Family/Model is used as Ext.Family/Model HOT 5
- Intel Alder Lake processors are not properly recognized HOT 21
- C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\x86_64-w64-mingw32\bin\ld.exe C:\Users\user\AppData\Local\Temp\cc79calV.o:sysinfo.cpp:(.text+0x15a): undefined reference to `cpuid_present' HOT 2
- xmp profile on H670 chipset does not seem to be detected HOT 2
- cpuid_tool.exe v0.6.0 doesn't work on my PC HOT 3
- Library naming inconsistent between Autotools and CMake HOT 2
- v0.6.0 alder lake(hyper thread disabled) core numbers are not correct. HOT 1
- "Segmentation Fault" on Celeron 900 (Core 2) HOT 6
- x86_64 architecture level HOT 2
- cpuid_tool 0.6.2 does not work on osx HOT 3
- Misprint, not enough zeros in the constant HOT 1
- cpuid_get_all_raw_data() leaves CPU affinity set to a single core HOT 3
- Overclock intel CPU HOT 3
- minimum and maximum frequency of AMD cpu HOT 7
- Wrong rdmsr temperature/voltage/clock for Core 2 CPUs HOT 2
- Support Extended CPU Topology for AMD CPU/APU HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcpuid.