martedì 4 settembre 2007

Modificar il valore Queue depth nelle Qlogic 2342

In caso di problemi di performance sulle hba della qlogic vmware consiglia di aumentare il valore delle hba a 64. Per fare ciò bisonga appendere una configurazione per il caricamento del modulo qla2300_707.

1. Mettere in maintende mode il server
2. Da COS lanciare i seguenti comandi
# esxcfg-module -s ql2xmaxqdepth=64 qla2300_707
# esxcfg-boot -b
3. Verificare che nel file /etc/vmware/esx.conf ci siano le seguenti righe
/vmkmodule[0005]/enabled = "true"
/vmkmodule[0005]/module = "qla2300_707.o"
/vmkmodule[0005]/options = "ql2xmaxqdepth=64"
/vmkmodule[0005]/type = "fc"

4. reboot del server

Dopo il riavvio in /proc/vmware/scsi/vmhbaX/0:0 verificare il valore Queue Depth: 64. Inoltre in /var/log/vmkernel dovreste trovare delle entries
[root@esx02 root]# grep "Queue" /var/log/vmkernel
Sep 4 14:07:25 esx02 vmkernel: 0:00:00:24.462 cpu3:1033)LinSCSI: 689: Queue depth for device vmhba1:0:0 is 64
Sep 4 14:07:26 esx02 vmkernel: 0:00:00:24.464 cpu3:1033)LinSCSI: 689: Queue depth for device vmhba1:0:1 is 64