07-28-2014
Processor binding is indeed almost never a proper way to enhance to performance of the bounded process. It might however help improving the performance of other processes by limiting the CPU resources the bounded process can use.
Another usage is to approximate the process performance that would be observed on a single core server while you "only" have a multi-core one to test it.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how to start a process and make it sleep for 5 mins and then kill that process (6 Replies)
Discussion started by: shrao
6 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I need a help. I need to know:
1. the individual core id, physical id of a running process on multicore inside a program. The system file /proc/cpuinfo shows all the ids of all the processes. But I need to know runtime, what exact core id and physical id , the running process has.... (0 Replies)
Discussion started by: debrajde
0 Replies
3. Solaris
Hello All
Is it possible to disable a specific process from core dumping ?
In my environment I have 2 bespoke application processes which needs to be stopped from core dumping but any other process should be allowed to core dump.
If I do : coreadm -d process it will stop all per processes... (3 Replies)
Discussion started by: baner_n
3 Replies
4. UNIX for Dummies Questions & Answers
We have an application that terminates with segmentation violation errors in the logs. No source code is available since this is a third party software that is way past its maintenance life cycle. Under these circumstances is there a way to force a core dump of the process for further analysis??
... (3 Replies)
Discussion started by: Un1xNewb1e
3 Replies
5. Shell Programming and Scripting
Hi all,
I'm doing automation task for my team and I just started to learn unix scripting so please shed some light on how to do this:
1) I have 2 sets of datafiles - datafile A and B. These datafiles must be loaded subsequently and cannot be loaded concurrently.
2) So I loaded datafile A... (10 Replies)
Discussion started by: luna_soleil
10 Replies
6. Programming
Hi all.
Sorry to express my questions wrongly in my early post,I repost my question again here.
My pc has dual core, I wirte an application with two process, parents process and child process.
My quetion is
how to realize :if the child process is on core 0,it will tell me I'm on core 0,if it... (1 Reply)
Discussion started by: yanglei_fage
1 Replies
7. UNIX for Dummies Questions & Answers
What I need to learn is how to use a script that launches background processes, and then kills those processes as needed.
The script successfully launches the script. But how do I check to see if the job exists before I kill it?
I know my problem is mostly failure to understand parameter... (4 Replies)
Discussion started by: holocene
4 Replies
8. Red Hat
Hello
Im using redhat and try to debug my application , its crashes and in strace I also see it has problems , but I can't see any core dump
I configured all the limit ( im using .cshrc ) and it looks like this :
cputime unlimited
filesize unlimited
datasize unlimited... (8 Replies)
Discussion started by: umen
8 Replies
9. Shell Programming and Scripting
I use top -H -p 1256 to show process 1256, and then press "f" then press "j" to display it is running on which core, is there a better mothed, I want to be automated to get this (1 Reply)
Discussion started by: yanglei_fage
1 Replies
10. Red Hat
Hello All,
I am new joiner of this forum.I am new to Linux shell scripting.
At present I have identified 1 application which stalls very frequently (PID is say xyz) and I am not having much information in its application log to identify the root cause of stalling. I need to take the core dump... (19 Replies)
Discussion started by: Anjan Ganguly
19 Replies
LEARN ABOUT REDHAT
longrun
LONGRUN(1) General Commands Manual LONGRUN(1)
NAME
Transmeta(TM) Crusoe(TM) LongRun(TM) utility
SYNOPSIS
longrun [-c device] [-m device] [-hlpv] [-f flag] [-s low high]
DESCRIPTION
The longrun utility is used to control and query LongRun settings on Transmeta Crusoe processors.
-c device
Set the CPUID device. The default CPUID device is /dev/cpu/0/cpuid.
-m device
Set the MSR device. The default CPUID device is /dev/cpu/0/msr.
-h Print help.
-l List LongRun information about available performance levels for the CPU.
The following values are reported on all Transmeta CPUs that implement LongRun.
% An available performance level, expressed as a percentage of range of available core CPU frequencies. 0 corresponds to
the lowest available frequency and 100 corresponds to the highest.
MHz The core CPU frequency at that level.
Volts The core CPU voltage at that level.
usage The power usage relative to the maximum performance level.
-p Print current LongRun settings and status: whether LongRun is enabled, whether LongRun Thermal Extensions are active, the current
LongRun performance window (expressed as a percentile range), the current LongRun performance level (expressed as a percentile), and
the current LongRun flags.
-v Be more verbose.
-f flag
Set a LongRun mode flag. Currently, the two supported flags are performance and economy. This controls whether the processor is in
"performance mode" or "economy mode".
-s low high
Set the current LongRun performance window as a percentile range. The low number cannot be greater than the high number. The
minimum and maximum performance values accepted by the CPU are 0 and 100, respectively.
ENVIRONMENT
No environment variables are used.
FILES
This program requires that the Linux CPUID and MSR devices be compiled into the kernel (or loaded as kernel modules), that the CPUID
character device be readable, and that the MSR character device be both readable and writable.
SEE ALSO
acpid(8), apmd(8), hdparm(8)
AUTHOR
Daniel Quinlan <quinlan@transmeta.com>
February 14, 2001 LONGRUN(1)