dme1737 very slow read...

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

 



I was very happy to see dme1737 support added, thank you!  Now I can get
all the info out of my compaq sr1710nx cheapo server.  :)

It all works - I did notice, though, that when I run "sensors" it's very
slow to read the sysfs file:

write(1, "Adapter: SMBus PIIX4 adapter at "..., 37) = 37 <0.000055>
open("/sys/class/i2c-adapter/i2c-0/0-002e/in0_input", O_RDONLY) = 3
<0.000032>
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 <0.000009>
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2b7f69d6b000 <0.000014>
read(3, "0\n", 4096)                    = 2 <1.535188>

1.53 seconds to read "0\n" !  :)

Any idea if this is a hardware or software delay?  I haven't yet dug
into profiling the kernel code to see what might be taking so long...

Thanks,

-Eric




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux