RE: Serious problem with ticket spinlocks on ia64

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Luck, Tony
Date: Friday, August 27, 2010 - 9:08 am

> Hedi Berriche sent me a simple test case that can

Can you post the test case please. How long does it typically take
to reproduce the problem?



What is the duplicate ticket number that CPUs 5 & 7 get at this point?
Presumably 0x0, yes? Or do they see a stale 0x7fff?


Is the fault handler using "ld.acq" to look at the spinlock value?
If not, then this might be a red herring. [Though clearly something
bad is going on here].


What cpu model are you running on?
What is the topological connection between CPU 4, 5 and 7 - are any of
them hyper-threaded siblings? Cores on same socket? N.B. topology may
change from boot to boot, so you may need to capture /proc/cpuinfo from
the same boot where this problem is detected. But the variation is
usually limited to which socket gets to own logical cpu 0.

If this is a memory ordering problem (and that seems quite plausible)
then a liberal sprinkling of "ia64_mf()" calls throughout the spinlock
routines would probably make it go away.

-Tony
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Aug 27, 6:37 am)
Re: Serious problem with ticket spinlocks on ia64, Hedi Berriche, (Fri Aug 27, 6:48 am)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Aug 27, 7:09 am)
Re: Serious problem with ticket spinlocks on ia64, Hedi Berriche, (Fri Aug 27, 7:31 am)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Aug 27, 7:40 am)
Re: Serious problem with ticket spinlocks on ia64, Hedi Berriche, (Fri Aug 27, 7:52 am)
RE: Serious problem with ticket spinlocks on ia64, Luck, Tony, (Fri Aug 27, 9:08 am)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Aug 27, 9:37 am)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Aug 27, 10:16 am)
Re: Serious problem with ticket spinlocks on ia64, Hedi Berriche, (Fri Aug 27, 11:20 am)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Aug 27, 12:40 pm)
RE: Serious problem with ticket spinlocks on ia64, Luck, Tony, (Fri Aug 27, 1:29 pm)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Aug 27, 1:41 pm)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Aug 27, 2:03 pm)
RE: Serious problem with ticket spinlocks on ia64, Luck, Tony, (Fri Aug 27, 2:11 pm)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Aug 27, 3:13 pm)
RE: Serious problem with ticket spinlocks on ia64, Luck, Tony, (Fri Aug 27, 4:26 pm)
RE: Serious problem with ticket spinlocks on ia64, Luck, Tony, (Fri Aug 27, 4:55 pm)
Re: Serious problem with ticket spinlocks on ia64, Hedi Berriche, (Fri Aug 27, 5:28 pm)
RE: Serious problem with ticket spinlocks on ia64, Luck, Tony, (Fri Aug 27, 10:01 pm)
RE: Serious problem with ticket spinlocks on ia64, Luck, Tony, (Mon Aug 30, 11:17 am)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Mon Aug 30, 2:41 pm)
Re: Serious problem with ticket spinlocks on ia64, Tony Luck, (Mon Aug 30, 3:43 pm)
Re: Serious problem with ticket spinlocks on ia64, Tony Luck, (Tue Aug 31, 3:17 pm)
Re: Serious problem with ticket spinlocks on ia64, Tony Luck, (Wed Sep 1, 4:09 pm)
Re: Serious problem with ticket spinlocks on ia64, Hedi Berriche, (Wed Sep 1, 5:26 pm)
Re: Serious problem with ticket spinlocks on ia64, Tony Luck, (Thu Sep 2, 5:06 pm)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Sep 3, 2:04 am)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Sep 3, 7:35 am)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Fri Sep 3, 7:52 am)
Re: Serious problem with ticket spinlocks on ia64, Tony Luck, (Fri Sep 3, 8:50 am)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Mon Sep 6, 7:47 am)
Re: Serious problem with ticket spinlocks on ia64, Petr Tesarik, (Tue Sep 7, 6:17 am)
Re: Serious problem with ticket spinlocks on ia64, Tony Luck, (Tue Sep 7, 10:35 am)
Re: Serious problem with ticket spinlocks on ia64, Tony Luck, (Wed Sep 8, 8:55 am)
Re: Serious problem with ticket spinlocks on ia64, Dave Jones, (Thu Sep 9, 7:55 pm)