03-30-2010
As I wrote I'm no perl expert but perhaps is your thread code too lightweight to show up in the stats. You should use something more compute intensive to have more than one CPU busy with your code.
9 More Discussions You Might Find Interesting
1. AIX
Hi,
what is concept of core in ibm platform?
I want to know how to find out no of core in cpu in aix i.e command
how to find out value of core?
Wheather any specification is there? (1 Reply)
Discussion started by: manoj.solaris
1 Replies
2. Solaris
hi all
how to find cpu core level in 8,9 and 10 .
thanks (2 Replies)
Discussion started by: kumarmani
2 Replies
3. AIX
is there command which will display no of core per cpu in aix?
Regads,
Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
Is it a command that show's how many CPU and Core the solaris server have?
Tnx (2 Replies)
Discussion started by: mehrdad68
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
I want to know if in UNIX is it possible to distinguish between a CPU and a core through any command?
Thanks,
Vineet (1 Reply)
Discussion started by: vineetd
1 Replies
6. Solaris
Hi all.
I've had a quick look around but cant see anything exactly matching my requirements.
I have a new T2000 running S10. Im looking to restrict the no. cores that a S10 non-global zone can use to 1 only. The box is single CPU but 8core.
I want to do this to save on some software... (4 Replies)
Discussion started by: boneyard
4 Replies
7. AIX
Hi Friends-
What does it mean by 2 cpu cores, 3 cpu cores? Does it mean 2 separate cpus or what is it exactly ?
Kindly explain a bit in detail.
Thanks
panditt (4 Replies)
Discussion started by: deshaipet
4 Replies
8. Red Hat
I would like to understand how many number of CPUs and cores do I have on my server based on following out put..
Few observations... Please correct me if I am wrong
Since Physical ID is same CPU is singe
It has 8 virtual processors
Hyper thrading is enabled since no of siblings are... (1 Reply)
Discussion started by: parth_buch
1 Replies
9. Solaris
hi all,
I am running SPARC server + solaris 10. (no LDOMs)
Due to change of setup and application licensing cost, I need to cap my core/cpu utilization in my globalzone.
Right now, I have 1x6 cores in my server, how do I change it to utilized 4 cores instead ?
By using... (2 Replies)
Discussion started by: javanoob
2 Replies
LEARN ABOUT MOJAVE
critical_enter
CRITICAL_ENTER(9) BSD Kernel Developer's Manual CRITICAL_ENTER(9)
NAME
critical_enter, critical_exit -- enter and exit a critical region
SYNOPSIS
#include <sys/param.h>
#include <sys/systm.h>
void
critical_enter(void);
void
critical_exit(void);
DESCRIPTION
These functions are used to prevent preemption in a critical region of code. All that is guaranteed is that the thread currently executing
on a CPU will not be preempted. Specifically, a thread in a critical region will not migrate to another CPU while it is in a critical
region. The current CPU may still trigger faults and exceptions during a critical section; however, these faults are usually fatal.
The critical_enter() and critical_exit() functions manage a per-thread counter to handle nested critical sections. If a thread is made
runnable that would normally preempt the current thread while the current thread is in a critical section, then the preemption will be
deferred until the current thread exits the outermost critical section.
Note that these functions are not required to provide any inter-CPU synchronization, data protection, or memory ordering guarantees and thus
should not be used to protect shared data structures.
These functions should be used with care as an infinite loop within a critical region will deadlock the CPU. Also, they should not be inter-
locked with operations on mutexes, sx locks, semaphores, or other synchronization primitives. One exception to this is that spin mutexes
include a critical section, so in certain cases critical sections may be interlocked with spin mutexes.
HISTORY
These functions were introduced in FreeBSD 5.0.
BSD
October 5, 2005 BSD