Sponsored Content
Full Discussion: Question on /proc/cpuinfo
Operating Systems Linux Red Hat Question on /proc/cpuinfo Post 302605216 by jlliagre on Wednesday 7th of March 2012 02:31:08 AM
Old 03-07-2012
This is likely due to hyper-threading. Each core supports two threads reported as separate virtual CPUs.
This User Gave Thanks to jlliagre For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

about /proc

hi, we all know /proc is about the information of active process, I have just read an artical which said you can use /proc/cpuinfo, /proc/net./proc/meminfo etc. to know about some hardware information .But I want to know how to use with command line? (1 Reply)
Discussion started by: fuqiang1976
1 Replies

2. UNIX for Advanced & Expert Users

The /proc Filesystems

Anyone know what the difference between the /proc filesystems under Linux and SunOS? Thanx In Advance! -Lola (1 Reply)
Discussion started by: Sparticus007
1 Replies

3. UNIX for Advanced & Expert Users

/proc

/proc is filing up my root filesystem. Can you delete any of the4 ID numbers out of /proc. Please help me. (3 Replies)
Discussion started by: aojmoj
3 Replies

4. UNIX for Dummies Questions & Answers

proc

Hi, What are the various way's to fix /proc folder in redhat linux 7.2 and how to verify /proc folder is proper or croupted? Thank in advance Bache Gowda (7 Replies)
Discussion started by: bache_gowda
7 Replies

5. UNIX for Dummies Questions & Answers

Dummy question about /proc/cpuinfo

Perhaps this is a very dummy question but sorry I don't know other place to do it. We just buy a new cluster of Xeon machines but there is something I don't understand and perhaps someone can help me. The more /proc/cpuinfo produces the following output (just part of it). processor : 0... (1 Reply)
Discussion started by: jhc
1 Replies

6. UNIX for Dummies Questions & Answers

_/proc/stat vs /proc/uptime

Hi, I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies

7. UNIX for Dummies Questions & Answers

Definition of "siblings" in /proc/cpuinfo

So, I'm looking over /proc/cpuinfo and have a question... I've read that "siblings" refers to hyperthreading, but that seems odd considering the contents of cpuinfo. Here's a part: model name : Intel(R) Xeon(R) CPU E5410 @ 2.33GHz physical id : 0 siblings : 4 core... (1 Reply)
Discussion started by: treesloth
1 Replies

8. UNIX for Dummies Questions & Answers

Regarding /proc

If you are adding the kernel module without any module parameter passing, it should print out following information to info1 file so that user can make read access to info1 file (via, for example, cat /proc/info1): • Processor type • Kernel version • Total number of the processes currently... (1 Reply)
Discussion started by: shekhar.huded
1 Replies

9. UNIX for Dummies Questions & Answers

Question about /proc/acpi (Debian 7.2 w/ 3.2.0-4-686-pae kernel)

Hi everyone, I am running Debian Wheezy 7.2 with a 3.2.0-4-686-pae kernel. There are a couple of virtual files and directories in /proc I can't seem to find much information about. I am aware that some of them might be legacy, though. Anyway, here they are: acpi: according to this link, this... (2 Replies)
Discussion started by: gacanepa
2 Replies

10. SuSE

Post Your /proc/cpuinfo here!

Here is a chance for Linux users to easily compare Linux CPU info and some meaningless BOGOMIPS. Everyone who is running Linux is welcome to: cat /proc/cpuinfo and post the results. Here is the results for www.unix.com: processor : 0 vendor_id : AuthenticAMD cpu family... (182 Replies)
Discussion started by: Neo
182 Replies
pset_create(2)							System Calls Manual						    pset_create(2)

NAME
pset_create() - create a processor set SYNOPSIS
DESCRIPTION
The function creates an empty processor set with no processors. Processor sets allow a subset of processors in the system to be isolated for exclusive use by specified threads and processes. Only the threads bound to a processor set can execute on processors in that proces- sor set. The binding of threads and processes to processor sets is controlled by the function (see pset_bind(2)). A unique identifier is assigned to the new processor set created by the function, and is returned to the caller in the memory location pointed to by newpset. This value is valid only if the function return value is zero. A processor can be assigned to a processor set by the function. A processor may not belong to more than one processor set at a time. There may be an implementation dependent limit on the maximum number of processor sets that may exist (created and not destroyed) at any given time. Any user may create a new processor set with the function. However, special permissions are needed to populate a processor set with pro- cessors (see pset_assign(2)), to execute applications in a processor set (see pset_bind(2)), or to destroy a processor set (see pset_destroy(2)). There may be a per user limit on how many processor sets that users without the privilege may own. Every processor set is assigned ownership and access permission attributes. The creator of a processor set becomes the default owner of the processor set. The READ, WRITE, and EXEC access permissions are defined for processor sets for three access modes -- Owner, Group, and Others -- similar to the UNIX file system access permissions. The READ permission allows the caller to query about processor set configuration, the WRITE permission allows the caller to change processor set configuration and attributes, and the EXEC permission allows the caller to execute on processors in the processor set. The function may be used to change the ownership and access permissions, whereas the function may be used to query the current ownership and access permissions. A system default processor set is created at system initialization time and cannot be destroyed. The default processor set is always owned by the user with UID 0 and has the processor set ID of Processor 0 is always assigned to the default processor set and cannot be reassigned to another processor set. Note on Hyper-Threading On systems with the hyper-threading capability enabled at the firmware level, each hyper-thread represents a logical processor (LCPU). Since the logical processors in the same physical processor core share common resources, interfaces dealing with workload migration or pro- cessor migration must operate at the physical processor core granularity. The following is a list of processor set attributes and their default values at processor set creation time (see pset_getattr(2)): Indicates the behavior on a request to bind a process or a thread to a processor set that does not contain any processors. By default, such a request will be rejected. GID of processor set's owner group. The creator's gid is assigned by default. A flag to indicate if processors in the set are configured to receive external I/O interrupts or not. All processors by default are made available to receive interrupts. Indicates the behavior on a request to remove the last processor from a processor set. By default, all processes/threads assigned to the processor set are reassigned to the default processor set and the processor is reassigned as requested. On a system with the hyper-threading feature enabled, the LCPU attribute indicates whether or not the processor cores in a processor set are enabled with logical processors (LCPU). By default, the default processor set's attribute value is inherited at the time of creation. The non-default processor set's can be modified by but the default processor set's can only be modified by the dynamic kernel tunable command, Indicates the behavior on a request to destroy a non-empty processor set. The non-empty processor set refers to one that has at least one processor assigned to it. By default, all processors and processes/threads assigned to the processor set are reassigned to the system default processor set, and the processor set is destroyed. UID of the processor set owner. The processor set creator is the default owner. Access permissions for the processor set. By default, the processor set owner has all permissions, whereas group and others have only READ and EXEC permissions. Processor sets define a scheduling allocation domain for threads and processes. All threads may execute only on processors within the assigned processor set. The kernel load balancers work within the processor set boundary. There is no load balancing across the processor set boundary although users can explicitly migrate threads and processes from one processor set to another by using the function. The POSIX RTSCHED scheduler (see rtsched(2)) no longer works at the system level; its scheduling domain is restricted to the processor set boundary. System daemon threads created in the kernel are not restricted to a user defined processor set configuration. They may run on any proces- sor in the system as necessary. Use with to see if the processor set functionality is supported by the underlying HP-UX operating system version. Security Restrictions Some or all of the actions associated with this system call require the privilege. Processes owned by the superuser have this privilege. Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about privileged access on systems that support fine-grained privileges. EXAMPLES
Create a new processor set: RETURN VALUE
returns zero on successful completion. Otherwise, -1 is returned and is set to indicate the error. ERRORS
fails if one or more of the following is true: The user has reached the per user limit on how many processor sets a user without the privilege may own. The memory location pointed to by newpset is not writable by the user. The memory location pointed to by newpset is Processor sets cannot be created on a uniprocessor system. The user does not have necessary permissions to create a new processor set. A new processor set cannot be created at this time due to lack of necessary system resources. The processor set functionality is not supported by the underlying HP-UX version. SEE ALSO
kctune(1M), psrset(1M), pset_assign(2), pset_bind(2), pset_ctl(2), pset_destroy(2), pset_getattr(2), pset_setattr(2), rtsched(2), sysconf(2), privgrp(4), privileges(5). pset_create(2)
All times are GMT -4. The time now is 03:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy