All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] dme1737 very slow read...
@ 2007-07-26  3:31 Eric Sandeen
  2007-07-26  3:58 ` Juerg Haefliger
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Eric Sandeen @ 2007-07-26  3:31 UTC (permalink / raw)
  To: lm-sensors

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@96, ...}) = 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

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-08-12 14:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-26  3:31 [lm-sensors] dme1737 very slow read Eric Sandeen
2007-07-26  3:58 ` Juerg Haefliger
2007-07-26  5:14 ` Eric Sandeen
2007-07-26  5:39 ` Juerg Haefliger
2007-07-26  5:42 ` Juerg Haefliger
2007-07-26 11:39 ` Mark M. Hoffman
2007-08-12 12:15 ` Jean Delvare
2007-08-12 14:43 ` Mark M. Hoffman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.