1834481 Members
3826 Online
110067 Solutions
New Discussion

Re: ioscan performance

 
siaemic
Advisor

ioscan performance

We are experiences a problem using rpc funcions inside a C program. Our application seems to have problems only on B2000,B2600 workstations. We received a suggestion to execute "ioscan -fnC disk" command on ws where our application runs and on a ws where our application fails. On last ws (ko) ioscan takes 45 sec. while on first ws (ok) it takes 5 sec. Can these two events be related ? Is it a problem of some hp patch ?
9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: ioscan performance

Are the two workstations the same verion of the O/S? Ioscan changed behaviour between 10.20 and 11.0 (I think). It now looks at all the physical devices. You can force it to just scan the kernel by using the -k option. If both ws are the same version, try the -k option and see what that results in.


Pete

Pete
Steve Steel
Honored Contributor

Re: ioscan performance

Hi

What is your latest ioscan patch

PHCO_27818 s700_800 11.00 ioscan(1M) cumulative patch


records performance problems in certain setups.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
siaemic
Advisor

Re: ioscan performance

Pete,

Both ws are unix 11.00.
I perform ioscan -k on both ws and it was immediate to return.

Steve,

Patch PHCO_27818 is not installed on both ws.
Pete Randall
Outstanding Contributor

Re: ioscan performance

Do the workstations differ in the amount of devices reported by ioscan? What I mean is, does ioscan have more legitimate work to do on one than it does on the other?


Pete

Pete
siaemic
Advisor

Re: ioscan performance

Pete,

no just one disk and a CD device on both ws
Steve Labar
Valued Contributor

Re: ioscan performance

Sometimes missing or incorrect SCSI terminators will cause performance problems. Verify you have the correct terminators connected to each ws.

Good Luck.


Steve
Eugeny Brychkov
Honored Contributor

Re: ioscan performance

I fully agree with Steve. Terminator or other SCSI bus problems (like misbehaving device) is leading to ioscan working too long time and somethmes even hangs. Unfortunately there're no external SCSI connectors to terminate in B2000... maybe B2600 has them? Maybe you have addon SCSI card installed with bus terminated improperly? Try disconnecting all external devices (if any, exluding, of course, terminal, keyboard and mouse :o) )
Eugeny
Bill Hassell
Honored Contributor

Re: ioscan performance

I would change your application to add the -k option. It will always run instantly since it does not query every I/O channel and device on the system. Unless you are (dangerously) adding devices with power on, ioscan -kfnC disk will be just as valid as without -k, but will complete in a second or two. The -k tells ioscan to read all the info from kernel memory.


Bill Hassell, sysadmin
T G Manikandan
Honored Contributor

Re: ioscan performance

ioscan taking a long time might be that some device is not responding.

check your /var/adm/syslog/syslog.log

for any scsi lbolt errors.

If that is the case then check up your scsi cabling and termination

Revert