Re: Corrected gettimeofday() test code

From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 11/30/03

  • Next message: Sten: "Re: Corrected gettimeofday() test code"
    To: "Marc G. Fournier" <scrappy@hub.org>
    Date: Sun, 30 Nov 2003 01:02:47 +0100
    
    

    In message <20031129192903.U99096@ganymede.hub.org>, "Marc G. Fournier" writes:
    >On Sat, 29 Nov 2003, Don Bowman wrote:
    >
    >> For this config (below), kern.timecounter.method=0 reproduces the
    >> problem, kern.timecounter.method=1 does not.
    >
    >Can anyone comment on what effect setting method to 1 has on the system?
    >Like, would one notice a degradation in performance?

    Setting it to 1 forces the timecounter to update every HZ.

    You can say that 0 was an optimization which it seems may not be
    safe on certain hardware combinations...

    -- 
    Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
    phk@FreeBSD.ORG         | TCP/IP since RFC 956
    FreeBSD committer       | BSD since 4.3-tahoe    
    Never attribute to malice what can adequately be explained by incompetence.
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Sten: "Re: Corrected gettimeofday() test code"

    Relevant Pages

    • Re: Corrected gettimeofday() test code
      ... In message, "Marc G. Fournier" writes: ... >Can anyone comment on what effect setting method to 1 has on the system? ... would one notice a degradation in performance? ...
      (freebsd-current)
    • RE: Corrected gettimeofday() test code
      ... On Sat, 29 Nov 2003, Don Bowman wrote: ... Can anyone comment on what effect setting method to 1 has on the system? ... would one notice a degradation in performance? ... To unsubscribe, ...
      (freebsd-current)
    • RE: Corrected gettimeofday() test code
      ... On Sat, 29 Nov 2003, Don Bowman wrote: ... Can anyone comment on what effect setting method to 1 has on the system? ... would one notice a degradation in performance? ... To unsubscribe, ...
      (freebsd-stable)