Operating System - HP-UX
1758568 Members
1992 Online
108872 Solutions
New Discussion юеВ

Slow reponse in Unix script execution btw Tru64 Unix and HP-UX

 
Bobcat_1
Advisor

Slow reponse in Unix script execution btw Tru64 Unix and HP-UX

Hi,

On of my user moved their in-house developed unix scripts from Tru64 Unix v5.1A server to HP-UX v11.23, rx4640 server. External storage remains the same - EVA5K.

User is complaining that completion time of the same scripts is by far very slow in HP-UX server in comparison to Tru64 Alpha Server.

1. which unix scripts and what they do =>
# vmpcheck.sh ├в using simple fgrep command to find bulk msisdn from selective source file.
And,

# stat_reploy.sh ├в check MSISDN daily transactions from Stat Data raw files then arrange it into table format to ease user reference. The script normally use for CDRS extraction upon user request.

2. what type of unix commands are used in the scripts =>

# fgrep, awk commmand

3. Source file type and sizes =>

# flat files ;
# size normally used ;
219494784 - dsd.txt (220 MB)
6651393311 - StatData (6.6 GB)

4. response time observed in comparison btw HP-UX and Tru64 =>

#In Tru64:

Using fgrep - searching list of MSISDN from flat files dsd.txt - 300K MSISDN - 1 minute.

Using awk command - searching 1 MSISDN for 1 month unzip data, 25 -30 minutes

# In HP-UX:

Using fgrep command for the same exercise as above - More than 2 hours still not complete. Terminated the program because slow response time.

Using awk command for the same exercise as above - Approx. 1 hour.

I've seen the system resource utilization and apparently no resource issues can be observed.

I'm attaching the script files that the user is using and screen capture of resource utilization.

Any possible help on what to do here ?

Thanks.


2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Slow reponse in Unix script execution btw Tru64 Unix and HP-UX

Shalom,

1) See that the HP-UX system is patched as current as possible.
2) See that the firmware on the EVA is up to date. I saw this same problem on an EVA-4000 yesterday and patching fixed it all.

3) Review the script and make sure there is nothing wrong with the command or environment variables, especially PATH. The two unixes are different and may need an environment tweak or two or three.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bobcat_1
Advisor

Re: Slow reponse in Unix script execution btw Tru64 Unix and HP-UX

Hi,
Will review the patch level.
The EVA8K here, uses the latest XCS version.

Thx