Anyone know how to check the current value and modify it..?
The card is a Sun badged QLogic card:
SUNWqlc Qlogic ISP 2200/2202 Fibre Channel Device Driver
Matt
Is there some reason you had to post this question three times in an hour?
Anyways, it's easy enough to set in /etc/system.
set sd:sd_max_throttle = 4
set ssd:ssd_max_throttle = 4
If I remember correctly, the second one is what the QLogic cards reference.
The first one is used by the JNI cards. Don't know which drivers others use.
You can find them from mdb as well.
# mdb -k
> sd_max_throttle/D
> ssd_max_throttle/D
Colin
No reason - I didn't manually post it 3 times - there must have been a
problem with google newsgroups.
> Anyways, it's easy enough to set in /etc/system.
> set sd:sd_max_throttle = 4
> set ssd:ssd_max_throttle = 4
>
> If I remember correctly, the second one is what the QLogic cards reference.
> The first one is used by the JNI cards. Don't know which drivers others use.
>
Thanks, I found a message in the QLogic driver notes on the web which
says the same thing:
set sd:sd_max_throttle=nnn (in /etc/system)
> # mdb -k
> > sd_max_throttle/D
> > ssd_max_throttle/D
What is the /D switch for..?
When I run:
echo "sd_max_throttle/D" | mdb -k
I get
sd_max_throttle:
sd_max_throttle:256
Is the current value 256..? or the default value..?
Thanks for your help...
Matt
sd_max_throttle or
ssd_max_throttle:
The output of format seems to suggest the ssd driver...
2. c6t50060E800043FA00d1 <HITACHI-DF600F-0000 cyl 14197 alt 2 hd
50 sec 7 68>
/pci@1e,600000/SUNW,qlc@3/fp@0,0/ssd@w50060e800043fa00,1
acsd102#> echo "ssd_max_throttle/D" |mdb -k
ssd_max_throttle:
ssd_max_throttle: 64
acsd102#> echo "sd_max_throttle/D" |mdb -k
sd_max_throttle:
sd_max_throttle: 256
How can confirm which one is being used for the SAN disks..?
Matt
Ah, yes. Google groups, the beginning of Google's descent into evildom.
>> Anyways, it's easy enough to set in /etc/system.
>> set sd:sd_max_throttle = 4
>> set ssd:ssd_max_throttle = 4
>>
>> If I remember correctly, the second one is what the QLogic cards reference.
>> The first one is used by the JNI cards. Don't know which drivers others use.
>
> Thanks, I found a message in the QLogic driver notes on the web which
> says the same thing:
>
> set sd:sd_max_throttle=nnn (in /etc/system)
Interesting! Our QLogic cards definitely use the ssd driver.
>> # mdb -k
>> > sd_max_throttle/D
>> > ssd_max_throttle/D
>
> What is the /D switch for..?
Display the value of the 32-bit parameter, if I remember correctly.
Actually, the man page is clear on this (if you read far enough). D is
representative of a decimal signed int (4 bytes).
> When I run:
>
> echo "sd_max_throttle/D" | mdb -k
>
> I get
>
> sd_max_throttle:
> sd_max_throttle:256
>
> Is the current value 256..? or the default value..?
Yep. 256 is in fact the default value, and insanely high for most purposes.
In order to not oversubcribe our storage ports, we set it to 4 on most
machines.
Keep in mind that this is a limiting value--when we did some test a year
ago, it was hard to push the actual queue depth beyond two, even under
a heavy load.
Colin
It certainly does. Methinks the release notes have a typo.
> acsd102#> echo "ssd_max_throttle/D" |mdb -k
> ssd_max_throttle:
> ssd_max_throttle: 64
>
> acsd102#> echo "sd_max_throttle/D" |mdb -k
> sd_max_throttle:
> sd_max_throttle: 256
>
> How can confirm which one is being used for the SAN disks..?
The definitive way is to use kstat, and see where your devices are attached.
This one works:
#kstat sd | egrep "^name:"
#kstat ssd | egrep "^name:"
Colin