If I'm reading that right, you're getting 781 MB/sec with 1 MB IO operations.
How fast do you think it should be going?
You are right. The performance is normal with 1M IO operations.
While, the problem is that the performance is bad with 512 bytes compared with the one without our virtual HBA dirver.
The performace of same disk without VHBA is shown as below:
The max io rate can reach 7k while the io rate with our VHBA is only 1.7k when running vdbench with 512 bytes IO.
That is the problem. But I don't know why.
Hi All,
Can you please help me in resolving the following problem?
My requirement is like this:
1) I have two files YESTERDAY_FILE and TODAY_FILE. Each one is having nearly two million data.
2) I need to check each record of TODAY_FILE in YESTERDAY_FILE. If exists we can skip that by... (5 Replies)
Hello guys!
I'm n00b in AIX and I'm sticked in a problem. (my English is poor enough, but I hope you can understand me :P). So.. I'm trying to connect to an AIX machine with putty, and .. 'using username xxx' appears after 2 sec (OK), but 'xxx@ip's password' appears after 1:15 min. After... (6 Replies)
About 4 years ago I wrote this tool inspired by Rob Urban's collect tool for DEC's Tru64 Unix. What makes this tool as different as collect was in its day is its ability to run at a low overhead and collect tons of stuff. I've expanded the general concept and even include data not available in... (0 Replies)
I have a strange situation. I'm running a shell script containing several data uploads (using Oracle sqlloader utility). This script is being run on a Red Hat server.
I tried to run it in background:
$ nohup upload.sh &
This script uploads some thousands files. After several hours I... (0 Replies)
There might be some problem with my server,
because every morning at 7, it's performance become bad with no DB extra deadlock.
But I just couldn't figure it out.
Please give me some advise, thanks a lot...
According to the CPU performace chart, Daily CPU loading Maximum: 42 %, Average:36%.
... (8 Replies)
Why I get bad replace when using eval?
$ map0=( "0" "0000" "0")
$ i=0
$ eval echo \${map$i}
0000
$ a=`eval echo \${map$i}` !!!error happens!!!
bash: ${map$i}: bad substitution
How to resolve it ?
Thanks! (5 Replies)
Hi
I have a system running solaris 10, and I intend to use a NetApp as its storage system. The application requires a throughput between the server and the storage 7000 disk IOPS (random IO sustained throughput with response time of 20 mili second and 16k block size).
How to make sure that I... (6 Replies)
Hi Guys,
I have fresh new installed VIO 2.2.3.70 on a p710, 3 physical SAS disks, rootvg on hdisk0
and 3 VIO clients through vscsi, AIX7.1tl4 AIX6.1tl9 RHEL6.5ppc, each lpar has its rootvg installed on a LV on datavg (hdisk2) mapped to vhost0,1,2
There is no vg on hdisk1, I use it for my... (1 Reply)
Discussion started by: frenchy59
1 Replies
LEARN ABOUT SUNOS
tran_tgt_init
tran_tgt_init(9E) Driver Entry Points tran_tgt_init(9E)NAME
tran_tgt_init - request to initialize HBA resources on behalf of a particular target
SYNOPSIS
#include <sys/scsi/scsi.h>
void prefixtran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, scsi_hba_tran_t *hba_tran, struct scsi_device *sd);
INTERFACE LEVEL
Solaris architecture specific (Solaris DDI).
PARAMETERS
hba_dip Pointer to a dev_info_t structure, referring to the HBA device instance.
tgt_dip Pointer to a dev_info_t structure, referring to the target device instance.
hba_tran Pointer to a scsi_hba_tran(9S) structure, consisting of the HBA's transport vectors.
sd Pointer to a scsi_device(9S) structure, describing the target.
DESCRIPTION
The tran_tgt_init() vector in the scsi_hba_tran(9S) structure may be initialized during the HBA driver's attach(9E) to point to an HBA
driver function to be called by the system when an instance of a target device is being created. The tran_tgt_init() vector, if not
NULL,is called after the dev_info node structure is created for this target device instance, but before probe(9E) for this instance is
called. Before receiving transport requests from the target driver instance, the HBA may perform any initialization required for this par-
ticular target during the call of the tran_tgt_init() vector.
Note that hba_tran will point to a cloned copy of the scsi_hba_tran_t structure allocated by the HBA driver if the SCSI_HBA_TRAN_CLONE flag
was specified in the call to scsi_hba_attach(9F). In this case, the HBA driver may choose to initialize the tran_tgt_private field in the
structure pointed to by hba_tran, to point to the data specific to the particular target device instance.
RETURN VALUES
tran_tgt_init() must return:
DDI_SUCCESS the HBA driver can support the addressed target, and was able to initialize per-target resources.
DDI_FAILURE the HBA driver cannot support the addressed target, or was unable to initialize per-target resources. In this event, the
initialization of this instance of the target device will not be continued, the target driver's probe(9E) will not be
called, and the tgt_dip structure destroyed.
SEE ALSO attach(9E), probe(9E), tran_tgt_free(9E), tran_tgt_probe(9E), scsi_hba_attach_setup(9F), scsi_device(9S), scsi_hba_tran(9S)
Writing Device Drivers
SunOS 5.10 1 Nov 1993 tran_tgt_init(9E)