Time Measurement in SG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

The command duration is measured in sg.c using
jiffies_to_msecs(jiffies).  The HZ set up in my ARM system is 100, so
this time measurement can only provide resolution of 10ms (or +/-
5ms).  Since the AT commands in sequential read mode can be as fast as
about 1ms, this inaccuracy could easily add up.  Do we need to
increase the time resolution to at least 100us (i.e, 1/10th of 1ms)?

SG duration is measured at the sg level which is still several layers
above LLD, so SG duration may not be quite close to device time spent
on each command. Is there any other way to get more accurate
measurement of command duration on the device?

Thanks,
Fajun
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux