Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements

Stanislav Sedov <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm,gmane.os.freebsd.current,gmane.os.freebsd.devel.mobile
Organization The FreeBSD Project
Message-ID <[email protected]>
On Wed, 15 Oct 2008 23:25:11 +0300
Alexander Motin <[email protected]> mentioned:
> 
> Completely fortunate I have noticed that number of iterations depends on 
> my laptop power source. After small investigation I have found that it 
> actually depends on dev.cpu.0.freq value. With default value 2400 I have 
> only several iterations. But every double frequency decrease doubles 
> iteration count. With minimum value 100MHz I have more then 100 
> iterations. Same time it doesn't looks like this time is a real wall 
> time. It looks like DELAY() used in a loop has some problems with time 
> counting.
> 

What do you mean? DELAY(9) on your laptop doesn't correspond to the
real time? AFAIK, DELAY(9) relies on current timecounter for time
accountiong, so there might be problems with it. Have you tried
switching the kern.timecounter.hardware sysctl to see if it will
affect results?

-- 
Stanislav Sedov
ST4096-RIPE
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkj2VoEACgkQK/VZk+smlYHA5wCeIgg4IPiIQihQ3sVJ5IzawUaK
nGgAnid2uyjyJbK0jty1Tp3zl+gXNRn7
=WF8Y
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.