[TUHS] XID register

Rico Pajarola rp at servium.ch
Wed Jan 10 14:22:06 AEST 2024


SPARCv9 has %tick register which just counts up on each clock cycle. Older
SPARCs don't have that. I'd still suspect you'd get non-unique results in a
multi CPU machine without additional effort.

On Sat, Dec 2, 2023 at 10:02 PM ron minnich <rminnich at gmail.com> wrote:

> SunRPC, among other protocols, needs transaction IDs (XIDs) to distinguish
> RPCs.For SunRPC, it's important that XIDs not be reused (not for all
> protocols; 9p has no such requirement). Stateless protocols like NFS and
> reused XIDs can get messy.
>
> There is a vague, 30 year old memory, I have, that at some point SPARC got
> a time register, or some other register, that always provided a different
> answer each time it was read, even if read back to back, in part to enable
> creation of non-reused XIDs. Note that things like the TSC or RISC-V MTIME
> register make no such guarantee.
>
> I am pretty sure someone here can fill me in, or tell me I'm wrong, about
> my SPARC memory.
>
> thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tuhs.org/pipermail/tuhs/attachments/20240109/0dfd0bf2/attachment.htm>


More information about the TUHS mailing list