Sponsored Content
Full Discussion: Awk Performance Issues
Top Forums UNIX for Dummies Questions & Answers Awk Performance Issues Post 302350205 by Tytalus on Thursday 3rd of September 2009 05:24:30 AM
Old 09-03-2009
If I'm reading this right, you roughly doubled the length of the file you're processing, and now it takes roughly twice as long...

Sounds about right to me...

If you could post your script, or at least the core sections I'm sure someone could assist in some performance tuning...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shell script performance issues --Urgent

I need help in awk please help immediatly. This below function is taking lot of time Please help me to fine tune it so that it runs faster. The file count is around 3million records # Process Body processbody() { #set -x while read line do ... (18 Replies)
Discussion started by: icefish
18 Replies

2. Solaris

raidctl performance issues

using the internal 2 drives mirror was created using raidctl on 100's of our servers . sometime when one drive fails we dont face any issue & we replace the drive with out any problem . but sometimes when one drive fails , system becomes unresponsive and doesnot allow us to login , the only way to... (1 Reply)
Discussion started by: skamal4u
1 Replies

3. Programming

performance issues of calling a function in if condition

Hi, I have written a program in C and have to test the return value of the functions. So the normal way of doin this wud b int rc rc=myfunction(input); if(rc=TRUE){ } else{ } But instead of doing this I have called the function in the if() condition. Does this have any... (2 Replies)
Discussion started by: sidmania
2 Replies

4. Solaris

Solaris 11 Express NAT performance issues

Hi all, I decided to replace my linux router/firewall with Solaris 11 express. This is a pppoe connection directly to my server...no router boxes. I got everything setup, but the performance is terrible on the NAT....really slow. A web page that loads on the server instantly will take... (3 Replies)
Discussion started by: vectox
3 Replies

5. AIX

Performance issues for LPAR with GPFS 3.4

Hi, We have GPFS 3.4 Installed on two AIX 6.1 Nodes. We have 3 GPFS Mount points: /abc01 4TB (Comprises of 14 x 300GB disks from XIV SAN) /abc02 4TB (Comprises of 14 x 300GB disks from XIV SAN) /abc03 1TB ((Comprises of Multiple 300GB disks from XIV SAN) Now these 40... (1 Reply)
Discussion started by: aixromeo
1 Replies

6. Solaris

zfs send receive performance issues

I 'm trying to clone a zfs file system pool/u01 to a new file system called newpool/u01 using following commands zfs list zfs snapshot pool/u01@new zfs send pool/u01@new | zfs -F receive newpool/u01 Its a 100G file system snapshot and copied to same server on different pool and... (9 Replies)
Discussion started by: fugitive
9 Replies

7. Solaris

Getcwd performance issues

Hello everyone, recently we have been experiencing performance issues with chmod. We managed to narrow it down to getcwd. The following folder exists: /Folder1/subfol1/subfol2/subfol3 cd /Folder1/subfol1/subfol2/subfol3 truss -D pwd 2>&1 | grep getcwd 0.0001... (4 Replies)
Discussion started by: KotekBury
4 Replies

8. AIX

AIX 6.1 Memory Performance issues

Good Day Everyone, Just wonder anyone has encounter AIX 6.1 Memory Performance issues ? What I have in my current scenario is we have 3 datastage servers (Segregate server and EE jobs - for those who know Datastage achitect) and 2 db servers(running HA to load balance 4 nodes partitions for... (3 Replies)
Discussion started by: ckwan
3 Replies

9. UNIX for Dummies Questions & Answers

Hard Disk Performance issues Suse 11 SP1

hi guys right now I have 6 Virtual Machines (VMs) running on Vmware ESXi 5.1 and attached to Storage SAN. All these run Suse Linux 11 SP1 x64. All of a sudden 1 of these VMs is running very slow making high CPU usage and I see al wait % kinda high 40-50%. Apparently since I don't own this... (5 Replies)
Discussion started by: karlochacon
5 Replies

10. What is on Your Mind?

Baiduspider and Forum Performance Issues

For years we blocked Baiduspider due to the fact their bots do not obey the robots.txt directive and can really hurt site performance when they unleash 100 bots on the site each pulling pages many times per second. Last year, I unblocked Baiduspider's IP addresses, and now the problem is back. ... (1 Reply)
Discussion started by: Neo
1 Replies
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)
All times are GMT -4. The time now is 02:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy