Re: Proposal: Use hi-res clock for file timestamps

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

 



Patrick J. LoPresti wrote:

  On Fri, Aug 13, 2010 at 11:45 AM, john stultz <johnstul@xxxxxxxxxx> wrote:

  > On those TSC broken systems that use the hpet or acpi_pm, a
  > getnstimeofday call can take 0.5-1.3us, so the penalty can be quite
  > severe.
  
  So you are saying my proposal is a bad idea forever?  (But then why
  even bother having nanosecond resolution on ext4?)

How about using getnstimeofday() only if the kernel clocksource is tsc?
Presumably anyone running into this problem would have modern high
performance hardware with working tsc.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux