libsensors config file scanner speed

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

 



Hi all:

I've committed all of my work to date on the libsensors config file scanner
to SVN.  It is on the branch called scanner-opt-branch.  I'm pretty happy
about the results so far...

# w/ w83627hf loaded
# also, use DEBUG:=1 in the Makefile

$ valgrind --tool=callgrind sensors -u -c etc/sensors.conf.eg
$ kcachegrind callgrind.out.NNNN

Total cycles before:	~11.2M
Total cycles after:	~ 7.3M
Total speedup:		~ 1.5x

Scanner cycles before:	~ 5.9M
Scanner cycles after:	~ 2.0M
Scanner speedup:	~ 3.0x

I'm going to keep it on the branch until (1) we release 2.10.1, and (2) I
create some sort of regression test for it.  For now at least, it has no
*known* bugs.  Give it a try; let me know if you have trouble.

Regards,

-- 
Mark M. Hoffman
mhoffman at lightlink.com





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

  Powered by Linux