Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
mechanical-sympathy
Conversations
Labels
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
mechanical-sympathy
Contact owners and managers
1–30 of 874
Welcome to the Mechanical Sympathy group. This group is for discussing how to code sympathetically for the underlying stack/platform so good performance can be extracted.
Mark all as read
Report group
0 selected
Peter Veentjer
, …
Daniel Marques
8
Feb 17
Another memory order opaque question
And due to OOoE of modern microarchitectures, with acquire/release, the load can even be executed
unread,
Another memory order opaque question
And due to OOoE of modern microarchitectures, with acquire/release, the load can even be executed
Feb 17
Peter Veentjer
,
Aleksey Shipilev
2
Jan 22
Java opaque memory order
On 1/20/25 08:24, Peter Veentjer wrote: > The question is the following: assuming that an opaque
unread,
Java opaque memory order
On 1/20/25 08:24, Peter Veentjer wrote: > The question is the following: assuming that an opaque
Jan 22
Vitor Tadashi
, …
john doe
3
12/29/24
LMAX Disruptor vs Agrona RingBuffer (one consumer and one producer)
Are there any good examples of using Agrona/Aeron RingBuffers (1 to 1 or 1 to n) - threads only know
unread,
LMAX Disruptor vs Agrona RingBuffer (one consumer and one producer)
Are there any good examples of using Agrona/Aeron RingBuffers (1 to 1 or 1 to n) - threads only know
12/29/24
Mark E. Dawson, Jr.
2/11/24
Deliberate vs. Intuitive CPU Affinity Brings PGO-like Performance Benefits
As a benchmark tool, I use a slightly modified version of Martin Thompson's InterThreadLatency
unread,
Deliberate vs. Intuitive CPU Affinity Brings PGO-like Performance Benefits
As a benchmark tool, I use a slightly modified version of Martin Thompson's InterThreadLatency
2/11/24
Aleksandr Ivanov
, …
alarm...@gmail.com
3
10/9/23
Correct use of memory barriers in atomic load/store impl for x86
"On x86 loads can only be reordered with store operations to a different memory location, since
unread,
Correct use of memory barriers in atomic load/store impl for x86
"On x86 loads can only be reordered with store operations to a different memory location, since
10/9/23
Fred Castaneras
, …
Michael Barker
4
6/11/23
Unsafe getLong/getLongVolatile has to read 8 bytes. It atomic / synchronized?
Hi Fred, As mentioned earlier, technically Unsafe.getLong could result in word tearing if another
unread,
Unsafe getLong/getLongVolatile has to read 8 bytes. It atomic / synchronized?
Hi Fred, As mentioned earlier, technically Unsafe.getLong could result in word tearing if another
6/11/23
Mark E. Dawson, Jr.
2/22/23
Why I'm always suspicious of the 1st CPU Core on any socket
I have all my clients avoid pinning latency-sensitive threads to the first core of any CPU socket if
unread,
Why I'm always suspicious of the 1st CPU Core on any socket
I have all my clients avoid pinning latency-sensitive threads to the first core of any CPU socket if
2/22/23
Alen Vrečko
, …
Martijn Verburg
4
2/5/23
deoptimization insanity
I apologize for not following up on this sooner. Andrei, spot on with the deoptimizations on JDWP
unread,
deoptimization insanity
I apologize for not following up on this sooner. Andrei, spot on with the deoptimizations on JDWP
2/5/23
Peter Booth
2
12/23/22
Re: Abridged summary of mechanical-sympathy@googlegroups.com - 1 update in 1 topic
Which JVM and GC? Have you tried with other JVMs? On Tue, Dec 20, 2022 at 9:02 AM <mechanical-
unread,
Re: Abridged summary of mechanical-sympathy@googlegroups.com - 1 update in 1 topic
Which JVM and GC? Have you tried with other JVMs? On Tue, Dec 20, 2022 at 9:02 AM <mechanical-
12/23/22
r r
,
Peter Veentjer
3
10/24/22
JMM - is this program data race free?
Thanks a lot pon., 24 paź 2022, 05:09 użytkownik Peter Veentjer <alarm...@gmail.com> napisał
unread,
JMM - is this program data race free?
Thanks a lot pon., 24 paź 2022, 05:09 użytkownik Peter Veentjer <alarm...@gmail.com> napisał
10/24/22
Antonio Rafael Rodrigues
,
Peter Veentjer
5
9/18/22
Difference between set and lazySet on AtomicLong
Thank you very much Peter Veentjer, your answer was very clarifying. I think I should have mentioned
unread,
Difference between set and lazySet on AtomicLong
Thank you very much Peter Veentjer, your answer was very clarifying. I think I should have mentioned
9/18/22
r r
,
Peter Veentjer
6
9/15/22
volatile reads does happen before volatile write in JMM?
Thanks! czw., 15 wrz 2022 o 12:40 Peter Veentjer <alarm...@gmail.com> napisał(a): On Thu,
unread,
volatile reads does happen before volatile write in JMM?
Thanks! czw., 15 wrz 2022 o 12:40 Peter Veentjer <alarm...@gmail.com> napisał(a): On Thu,
9/15/22
r r
, …
Avi Zohary
10
9/12/22
Java Memory Model, ConcurrencyHashMap and guarantee of iterator
I'm not absolutely sure about this, but it is possible that each thread will be running on
unread,
Java Memory Model, ConcurrencyHashMap and guarantee of iterator
I'm not absolutely sure about this, but it is possible that each thread will be running on
9/12/22
Mark E. Dawson, Jr.
8/26/22
Hunting down OS Noise and System Interrupts
The process of tracking system interrupts (from down in the HW to up in the OS/kernel) and locating
unread,
Hunting down OS Noise and System Interrupts
The process of tracking system interrupts (from down in the HW to up in the OS/kernel) and locating
8/26/22
dor laor
,
Welly Tambunan
2
7/14/22
Seastar's userspace tcp stack vs the kernel?
That's awesome way better than what AWS docs provide! Seems Aeron also provide DPDK transport
unread,
Seastar's userspace tcp stack vs the kernel?
That's awesome way better than what AWS docs provide! Seems Aeron also provide DPDK transport
7/14/22
Peter Veentjer
, …
Mark Dawson
14
7/3/22
Interrupts and hyperthreading.
I read Avi's response as simply concurring with mine - ie, that under *normal* low-latency
unread,
Interrupts and hyperthreading.
I read Avi's response as simply concurring with mine - ie, that under *normal* low-latency
7/3/22
Roger Bergerin
, …
Mark Dawson
4
6/26/22
Java x C++ Performance Battle => Interesting Article
I agree! Having worked with both C++ and Java top HFT firms, I know that both languages are capable
unread,
Java x C++ Performance Battle => Interesting Article
I agree! Having worked with both C++ and Java top HFT firms, I know that both languages are capable
6/26/22
Mark E. Dawson, Jr.
,
Gil Tene
5
6/19/22
The "5-level Page Table" Default in Linux May Impact Throughput
Yes, I'm aware that ARM has offered LAM since long ago. And regarding LAM on Intel, we shouldn
unread,
The "5-level Page Table" Default in Linux May Impact Throughput
Yes, I'm aware that ARM has offered LAM since long ago. And regarding LAM on Intel, we shouldn
6/19/22
Dain Ironfoot
, …
Laurynas Biveinis
11
6/6/22
Compute in a lock free way
> > 128-bit > > atomics are more limited than 64-bit ones on x86_64, ie to load the >
unread,
Compute in a lock free way
> > 128-bit > > atomics are more limited than 64-bit ones on x86_64, ie to load the >
6/6/22
r r
,
Gil Tene
3
5/1/22
Resource to learn JIT compiler
Thanks, watched it :). It is a great video that makes an overview of JVM / JIT optimizations. Do you
unread,
Resource to learn JIT compiler
Thanks, watched it :). It is a great video that makes an overview of JVM / JIT optimizations. Do you
5/1/22
r r
,
Greg Young
2
2/8/22
Resizable array, the fastest known approach
A bit older reference but worth benchmarking https://stackoverflow.com/questions/11621606/faster-way-
unread,
Resizable array, the fastest known approach
A bit older reference but worth benchmarking https://stackoverflow.com/questions/11621606/faster-way-
2/8/22
r r
, …
Gil Tene
6
2/8/22
Megamorphic virtual call optimization in Java
Thanks for your responses :) sobota, 5 lutego 2022 o 18:38:11 UTC+1 Gil Tene napisał(a): You might
unread,
Megamorphic virtual call optimization in Java
Thanks for your responses :) sobota, 5 lutego 2022 o 18:38:11 UTC+1 Gil Tene napisał(a): You might
2/8/22
r r
,
Peter Veentjer
3
7/29/21
Thread safety of the shared piece of memory - Java Memory Model
Thanks czwartek, 29 lipca 2021 o 20:30:46 UTC+2 alarm...@gmail.com napisał(a): There is a happens
unread,
Thread safety of the shared piece of memory - Java Memory Model
Thanks czwartek, 29 lipca 2021 o 20:30:46 UTC+2 alarm...@gmail.com napisał(a): There is a happens
7/29/21
Gregory Golberg
7/25/21
Re: Digest for mechanical-sympathy@googlegroups.com - 1 update in 1 topic
Xs ed On Sat, Feb 6, 2016, 6:06 AM <mechanica...@googlegroups.com> wrote: mechanical-
unread,
Re: Digest for mechanical-sympathy@googlegroups.com - 1 update in 1 topic
Xs ed On Sat, Feb 6, 2016, 6:06 AM <mechanica...@googlegroups.com> wrote: mechanical-
dr.aygun...@gmail.com
7/25/21
Gregory Golberg
7/25/21
Re: Digest for mechanical-sy x mpathy@google groups.com - 1 update in 1 topic
On Sat, Feb 6, 2016, 6:06 AM <mechanica...@googlegroups.com> wrote: mechanical-sympathy@
unread,
Re: Digest for mechanical-sy x mpathy@google groups.com - 1 update in 1 topic
On Sat, Feb 6, 2016, 6:06 AM <mechanica...@googlegroups.com> wrote: mechanical-sympathy@
7/25/21
Mark E. Dawson, Jr.
7/16/21
Intel may be giving TLB Shootdowns a makeover soon
Intel is considering moving some of the kernel-based responsibilities of handling TLBs into hardware
unread,
Intel may be giving TLB Shootdowns a makeover soon
Intel is considering moving some of the kernel-based responsibilities of handling TLBs into hardware
7/16/21
William Pietri
, …
Ben Evans
4
3/22/21
Tools for understanding GPUs?
Might TornadoVM be of use here? https://www.infoq.com/presentations/tornadovm-java-gpu-fpga/ https://
unread,
GPU
Tools for understanding GPUs?
Might TornadoVM be of use here? https://www.infoq.com/presentations/tornadovm-java-gpu-fpga/ https://
3/22/21
Marshall Pierce
1/12/21
Tools for parsing large heap dumps
I've written an hprof parsing library and tools [1] that others might find useful. I had a hefty
unread,
Tools for parsing large heap dumps
I've written an hprof parsing library and tools [1] that others might find useful. I had a hefty
1/12/21
Peter Veentjer
, …
Travis Downs
4
12/15/20
MESI and 'atomicity'
One could usefully distinguish between a vanilla RFO and an "RFO prefetch". An RFO prefetch
unread,
MESI and 'atomicity'
One could usefully distinguish between a vanilla RFO and an "RFO prefetch". An RFO prefetch
12/15/20
Zac Blanco
, …
Mark Price
7
11/19/20
Long unexplained time-to-safepoint (TTSP) in the JVM
Thanks for the write-up; I'm sure the information will be useful to others in the future. Mark On
unread,
Long unexplained time-to-safepoint (TTSP) in the JVM
Thanks for the write-up; I'm sure the information will be useful to others in the future. Mark On
11/19/20