On 02/19/2010 02:29 AM, Alex Samorukov wrote:
> I think its normal behavior. You may run
>
> strace -r smarctl <args>
>
> which calls are time expensive.
>
> But question is if you really need to poll temperature every minute? :)
  
every 5 minutes would probably be enough but I am using a php based
rrdtool utility which was designed to run every 1 minute. When its
pausing when running strace I am seeing thousands of this line repeated:

ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0
ioctl(3, SG_IO, 0x7fff24927f20)         = 0