03-22-2012
Please post what Operating System and version you have and what Shell you are using.
Please quantify a performance problem with real numbers and mention the hardware specification and other contention for resources which gives a feeling for scale. There's a whole difference between performance problems on a home PC and those on a 10,000 user system.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello,
I have a Supermicro server with a P4SCI mother board running Debian Sarge 3.1. This is the "dmidecode" output related to RAM info:
RAM speed information is incomplete.. "Current Speed: Unknown", is there anyway/soft to get the speed of installed RAM modules? thanks!!
Regards :)... (0 Replies)
Discussion started by: Santi
0 Replies
2. Shell Programming and Scripting
hi i have a script that is taking the difference of multiple columns in a file from a value from a single row..so far i have a loop to do that.. all the data is floating point..fin has the difference between array1 and array2..array1 has 700 x 300= 210000 values and array2 has 700 values..
... (11 Replies)
Discussion started by: npatwardhan
11 Replies
3. Shell Programming and Scripting
Hey together,
You should know, that I'am relatively new to shell scripting, so my solution is probably a little awkward.
Here is the script:
#!/bin/bash
live_dir=/var/lib/pokerhands/live
for limit in `find $live_dir/ -type d | sed -e s#$live_dir/##`; do
cat $live_dir/$limit/*... (19 Replies)
Discussion started by: lorus
19 Replies
4. Shell Programming and Scripting
I have a script that processes a fair amount of data -- say, 25-50 megs per run. I'd like ideas on speeding it up. The code is actually just a preprocessor -- I'm using another language to do the heavy lifting. But as it happens, the preprocessing takes much more time than the final processing... (3 Replies)
Discussion started by: CRGreathouse
3 Replies
5. Filesystems, Disks and Memory
I analysed disk performance with blktrace and get some data:
read:
8,3 4 2141 2.882115217 3342 Q R 195732187 + 32
8,3 4 2142 2.882116411 3342 G R 195732187 + 32
8,3 4 2144 2.882117647 3342 I R 195732187 + 32
8,3 4 2145 ... (1 Reply)
Discussion started by: W.C.C
1 Replies
6. Shell Programming and Scripting
Hi Guys,
I have a script that I am using to convert some text files to xls files. I create multiple temp. files in the process of conversion. Other than reducing the temp. files, are there any general tricks to help speed up the script?
I am running it in the bash shell.
Thanks. (6 Replies)
Discussion started by: npatwardhan
6 Replies
7. Shell Programming and Scripting
I had written a perl script to compare two files: new and master and get the output of the first file i.e. the first file: words that are not in the master file
STRUCTURE OF THE TWO FILES
The first file is a series of names
ramesh
sushil
jonga
sudesh
lugdi
whereas the second file (could be... (4 Replies)
Discussion started by: gimley
4 Replies
8. Shell Programming and Scripting
hey guys i have a perl script wich use to compare hashes but it tookes a long time to do that so i wich i will have the soulition to do it soo fast
he is the code
<redacted> (1 Reply)
Discussion started by: benga
1 Replies
9. Shell Programming and Scripting
Hi
I have written a shell script which will test 300 to 500 IPs to find which are pinging and which are not pinging.
the script which give output as
10.x.x.x is pining
10.x.x.x. is not pining
-
-
-
10.x.x.x is pining
like above.
But, this script is taking... (6 Replies)
Discussion started by: kumar85shiv
6 Replies
10. Shell Programming and Scripting
Hello,
I am basic level shell script developer. I have developed the following script. The shell script basically tracking various files containing certain strings. I am finding options to make the script run more faster. Any help/suggestion would be appreciated :)
#! /bin/bash
# Greps for... (6 Replies)
Discussion started by: Bhanuprasad
6 Replies
LEARN ABOUT HPUX
loratune
loratune(1M) loratune(1M)
NAME
loratune - initiate LORA tuneup to improve alignment of processing resources
SYNOPSIS
DESCRIPTION
The command improves the performance of an HP-UX system in LORA (Locality-Optimizated Resource Alignment) mode, by triggering the kernel to
do optimization tuning of the system and application memory.
The command may return before the tuning is complete. This tuning can continue in the background for several minutes after the command
returns. If the command is interrupted, or the command process is otherwise terminated, no subsequent tuning operations will be initiated,
but those in progress will continue until completion.
When no options are specified, all locality domains are tuned.
Options
This option limits the tuning to the locality domain specified by
lid.
Application Usage
In Locality-Optimized Resource Alignment (LORA) mode, performance of applications may improve when their processors and the memory that
they use are aligned in the same locality. The HP-UX kernel attempts to maintain such alignment at all times, but it is possible for mis-
alignment to occur when the system workload transitions significantly. If that happens, the command can be used to reestablish alignment
and improve application performance.
Here are some examples of workload transition events that may cause misalignment of processing resources:
o Starting or terminating an application that consumes a large amount of processor or memory resources.
o The workload demand surges far above the normal level and then recedes.
o Dynamic platform operations that add or subtract processor or memory resources from the operating system's control.
If one of those events has occurred, and application performance is not as high as it can be, then it is appropriate to invoke the command.
RETURN VALUES
The command returns a 0 when successful, and a non-zero value when unsuccessful.
ERRORS
The command will not initiate any tuning and will return a non-zero value if the user does not have appropriate privilege.
WARNINGS
The command can consume a significant amount of system processing resources to restore optimal alignment. Ideally, the command should be
invoked prior to the time when performance is critical, not during the time when performance is critical. The command should be invoked
after the workload transition is complete, not during workload transition. Although tuning can continue in the background for several min-
utes, it is not necessary to wait any more than five minutes between invoking the command and launching new applications.
EXAMPLES
If eight instances of SAP were running in localities with locality domain identifiers 4 and 5, and four of those instances were shut down,
then it would be appropriate to tuneup the remaining four instances. An example command would be:
If an HP-UX system in LORA mode had one of its cells deactivated, then it would be appropriate to tuneup the entire system. An example
command would be:
AUTHOR
was developed by HP.
SEE ALSO
mpsched(1), numa_policy(5), lora(7).
Itanium(R)-based Systems Only loratune(1M)