From: Ville Herva <vherva@niksula.hut.fi>
To: george anzinger <george@mvista.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: jiffies rollover, uptime etc.
Date: Wed, 20 Feb 2002 13:36:02 +0200 [thread overview]
Message-ID: <20020220113602.GN1105@niksula.cs.hut.fi> (raw)
In-Reply-To: <Pine.LNX.3.96.1020218191149.14047A-100000@gatekeeper.tmr.com> <3C72BBBA.FB79F6D0@mvista.com>
In-Reply-To: <3C72BBBA.FB79F6D0@mvista.com>
On Tue, Feb 19, 2002 at 12:55:22PM -0800, you [george anzinger] wrote:
> >
> > > Does this problem still exist on 64-bit machines?
> >
> > Absolutely. But not as often ;-)
>
> Actually you will have a VERY hard time getting it to roll over. Issues
> of your life time, not to mention the hardware's life time. 64 bits
> makes a VERY large number and you are counting in 427 day increments.
> Remember we have been counting seconds since 1970 in 32 bits and
> rollover is still, most likely, beyond the capability of any machine
> running today to get to. Now consider counting in 427 day increments
> instead of seconds.
48.5 day increments, not 497. On alpha and ia64 it's 1024 jiffies per
second.
Well, ok. Majority of the 64-bit archs seem to in fact use HZ=100:
asm-alpha/param.h:# define HZ 1024
asm-ia64/param.h:# define HZ 1024
asm-mips64/param.h:#define HZ 100
asm-ppc64/param.h:#define HZ 100
asm-s390x/param.h:#define HZ 100
asm-sparc64/param.h:#define HZ 100
asm-x86_64/param.h:#define HZ 100
-- v --
v@iki.fi
next prev parent reply other threads:[~2002-02-20 11:36 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-18 21:42 Oliver Hillmann
2002-02-18 22:10 ` Alan Cox
2002-02-18 22:03 ` Oliver Hillmann
2002-02-18 22:19 ` Ben Greear
2002-02-18 22:32 ` Tim Schmielau
2002-02-18 22:43 ` Alan Cox
2002-02-18 23:26 ` bert hubert
2002-02-18 23:56 ` J Sloan
2002-02-18 23:57 ` Alan Cox
2002-02-19 0:58 ` Stephen Frost
2002-02-19 4:47 ` Paul Jakma
2002-02-19 0:17 ` Bill Davidsen
2002-02-19 20:55 ` george anzinger
2002-02-20 11:36 ` Ville Herva [this message]
2002-02-20 17:20 ` Mike Fedyk
2002-02-20 17:24 ` Rik van Riel
2002-02-20 17:32 ` Mike Fedyk
2002-02-20 17:39 ` Rik van Riel
2002-02-20 17:44 ` Mike Fedyk
2002-02-20 17:56 ` Derek Gladding
2002-02-21 13:19 ` Bill Davidsen
2002-02-20 19:53 ` Robert Love
2002-02-20 19:08 ` David Mosberger
2002-02-20 15:46 ` Bill Davidsen
2002-02-20 16:50 ` george anzinger
2002-02-18 22:12 ` Tim Schmielau
2002-02-18 23:22 ` J Sloan
2002-02-19 2:54 Chris Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020220113602.GN1105@niksula.cs.hut.fi \
--to=vherva@niksula.hut.fi \
--cc=george@mvista.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®