All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFI]: SPARC - use of in-local-out register sets with hardware strands (threads)
@ 2015-02-22  1:58 David Horner
  0 siblings, 0 replies; 2+ messages in thread
From: David Horner @ 2015-02-22  1:58 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel, linux-kernel-mm

I assume each core has a shared set of registers in the circular
buffer of these register, and that each strand allocates from that
pool.

Can you tell me how to find the number of registers in the pool for a
given machine (I'm currently interested in the T4-2)?

If you can send some good urls my way I would greatly appreciate.

I'm hazzy on the control registers per strand for the current pointer,
the high and low threshold points.

I'm certainly interested in how they are managed, and particularly in
Linux and Solaris.


My "use case" is moving Sybase ASE 15.7 to "kernel thread mode"  from
process mode (and engine affinity at the core level) with Solaris 10.

I suspect overallocation of threads reduces the efficiency of register
sets with triggered spills and fills. In addition to the
overhead of maintaining the mostly idle threads, and the cold cache
effects of the round robin task allocation, I suspect the sharing of
register resources especially would cause much poorer performance than
anticipated.

I expect the same would be true in Linux.

Thank you so much.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFI]: SPARC - use of in-local-out register sets with hardware strands (threads)
@ 2015-02-23  5:29 David Horner
  0 siblings, 0 replies; 2+ messages in thread
From: David Horner @ 2015-02-23  5:29 UTC (permalink / raw)
  To: sparclinux

I assume each core has a shared set of registers in the circular
buffer of these register, and that each strand allocates from that
pool.

Can you tell me how to find the number of registers in the pool for a
given machine (I'm currently interested in the T4-2)?

If you can send some good urls my way I would greatly appreciate.

I'm hazzy on the control registers per strand for the current pointer,
the high and low threshold points.

I'm certainly interested in how they are managed, and particularly in
Linux and Solaris.


My "use case" is moving Sybase ASE 15.7 to "kernel thread mode"  from
process mode (and engine affinity at the core level) with Solaris 10.

I suspect overallocation of threads reduces the efficiency of register
sets with triggered spills and fills. In addition to the
overhead of maintaining the mostly idle threads, and the cold cache
effects of the round robin task allocation, I suspect the sharing of
register resources especially would cause much poorer performance than
anticipated.

I expect the same would be true in Linux.

Thank you so much.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-23  5:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-22  1:58 [RFI]: SPARC - use of in-local-out register sets with hardware strands (threads) David Horner
2015-02-23  5:29 David Horner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.