Re: SATA disk identify taking 10 seconds to give me output

2023-04-20 Thread Nick Holland

On 4/20/23 05:56, Raja Sekhar wrote:

Hi,

I am running OpenBSD_7.1 on VMWare workstation16. It has two hard disks(wd0
& sd0)

I am trying to get hard disk information using the following command.

*$atactl  identify*

If I use the disk wd0, I am getting output immediately.

If I use the disk sd0, I am getting the output after 10 seconds.

I need to trigger the above command multiple times, it is causing delay in
my scenario.

When I go through the kernel code the delay is occuring in scsi_xs_sync()
function.

What's the problem and what is the fix for this issue.


well, the problem is pretty clearly in VMware Workstation.
I don't see a problem with real hw.

First, I'd start by getting to 7.3. See if your "problem" is still
showing.

Second, I'd look at the virtual HW you have selected.  Try a different
interface card emulation.  And why do you have different types of
hardware on a VM anyway?  Put your virtual disks on the hw that
works best for you.

So many questions would be answered with a dmesg...

Nick.

Nick.



SATA disk identify taking 10 seconds to give me output

2023-04-20 Thread Raja Sekhar
Hi,

I am running OpenBSD_7.1 on VMWare workstation16. It has two hard disks(wd0
& sd0)

I am trying to get hard disk information using the following command.

*$atactl  identify*

If I use the disk wd0, I am getting output immediately.

If I use the disk sd0, I am getting the output after 10 seconds.

I need to trigger the above command multiple times, it is causing delay in
my scenario.

When I go through the kernel code the delay is occuring in scsi_xs_sync()
function.

What's the problem and what is the fix for this issue.


*Thanks*
Rajasekhar


SATA disk identify taking 10 seconds to give me output

2023-04-19 Thread Raja Sekhar
Hi,


I am running OpenBSD_7.1 on VMWare workstation16. It has two hard disks(wd0
& sd0)

I am trying to get hard disk information using the following command.

*$atactl  identify*

If I use the disk wd0, I am getting output immediately.

If I use the disk sd0, I am getting the output after 10 seconds.

I need to trigger the above command multiple times, it is causing delay in
my scenario.

What's the problem and fix for this issue.


*Thanks*
Rajasekhar


SATA disk identify taking 10 seconds to give me output

2023-04-19 Thread Raja Sekhar
Hi,

I am running OpenBSD_7.1 on VMWare workstation16. It has two hard disks(wd0
& sd0)

I am trying to get hard disk information using the following command.

*$atactl  identify*

If I use the disk wd0, I am getting output immediately.

If I use the disk sd0, I am getting the output after 10 seconds.

I need to trigger the above command multiple times, it is causing delay in
my scenario.

What's the problem and fix for this issue.


*Thanks*
Rajasekhar