On 25.10.2012 05:49, Bruce Evans wrote:
On Wed, 24 Oct 2012, Attilio Rao wrote:
On Wed, Oct 24, 2012 at 8:16 PM, Andre Oppermann an...@freebsd.org wrote:
...
Let's go back and see how we can do this the sanest way. These are
the options I see at the moment:
1. sprinkle
On 10/25/2012 11:23, Andre Oppermann wrote:
On 25.10.2012 05:49, Bruce Evans wrote:
On Wed, 24 Oct 2012, Attilio Rao wrote:
On Wed, Oct 24, 2012 at 8:16 PM, Andre Oppermann an...@freebsd.org
wrote:
...
Let's go back and see how we can do this the sanest way. These are
the options I see at
Author: jimharris
Date: Wed Oct 24 18:36:41 2012
New Revision: 242014
URL: http://svn.freebsd.org/changeset/base/242014
Log:
Pad tdq_lock to avoid false sharing with tdq_load and tdq_cpu_idle.
This enables CPU searches (which read tdq_load) to operate independently
of any contention on
On 24 October 2012 11:36, Jim Harris jimhar...@freebsd.org wrote:
Pad tdq_lock to avoid false sharing with tdq_load and tdq_cpu_idle.
Ok, but..
struct mtx tdq_lock; /* run queue lock. */
+ charpad[64 - sizeof(struct mtx)];
.. don't we have an
On Wednesday, October 24, 2012 2:36:41 pm Jim Harris wrote:
Author: jimharris
Date: Wed Oct 24 18:36:41 2012
New Revision: 242014
URL: http://svn.freebsd.org/changeset/base/242014
Log:
Pad tdq_lock to avoid false sharing with tdq_load and tdq_cpu_idle.
This enables CPU searches
On Wed, Oct 24, 2012 at 11:41 AM, Adrian Chadd adr...@freebsd.org wrote:
On 24 October 2012 11:36, Jim Harris jimhar...@freebsd.org wrote:
Pad tdq_lock to avoid false sharing with tdq_load and tdq_cpu_idle.
Ok, but..
struct mtx tdq_lock; /* run queue lock. */
On Wed, Oct 24, 2012 at 11:43 AM, John Baldwin j...@freebsd.org wrote:
On Wednesday, October 24, 2012 2:36:41 pm Jim Harris wrote:
Author: jimharris
Date: Wed Oct 24 18:36:41 2012
New Revision: 242014
URL: http://svn.freebsd.org/changeset/base/242014
Log:
Pad tdq_lock to avoid false
On Wed, Oct 24, 2012 at 8:00 PM, Jim Harris jim.har...@gmail.com wrote:
On Wed, Oct 24, 2012 at 11:43 AM, John Baldwin j...@freebsd.org wrote:
On Wednesday, October 24, 2012 2:36:41 pm Jim Harris wrote:
Author: jimharris
Date: Wed Oct 24 18:36:41 2012
New Revision: 242014
URL:
On Wed, Oct 24, 2012 at 7:56 PM, Jim Harris jim.har...@gmail.com wrote:
On Wed, Oct 24, 2012 at 11:41 AM, Adrian Chadd adr...@freebsd.org wrote:
On 24 October 2012 11:36, Jim Harris jimhar...@freebsd.org wrote:
Pad tdq_lock to avoid false sharing with tdq_load and tdq_cpu_idle.
Ok, but..
On Wed, Oct 24, 2012 at 12:08 PM, Attilio Rao atti...@freebsd.org wrote:
On Wed, Oct 24, 2012 at 7:56 PM, Jim Harris jim.har...@gmail.com wrote:
On Wed, Oct 24, 2012 at 11:41 AM, Adrian Chadd adr...@freebsd.org wrote:
On 24 October 2012 11:36, Jim Harris jimhar...@freebsd.org wrote:
Pad
On 24.10.2012 20:56, Jim Harris wrote:
On Wed, Oct 24, 2012 at 11:41 AM, Adrian Chadd adr...@freebsd.org wrote:
On 24 October 2012 11:36, Jim Harris jimhar...@freebsd.org wrote:
Pad tdq_lock to avoid false sharing with tdq_load and tdq_cpu_idle.
Ok, but..
struct mtx
On 24.10.2012 22:16, Andre Oppermann wrote:
On 24.10.2012 20:56, Jim Harris wrote:
On Wed, Oct 24, 2012 at 11:41 AM, Adrian Chadd adr...@freebsd.org
wrote:
On 24 October 2012 11:36, Jim Harris jimhar...@freebsd.org wrote:
Pad tdq_lock to avoid false sharing with tdq_load and tdq_cpu_idle.
On Wed, Oct 24, 2012 at 12:16 PM, Andre Oppermann an...@freebsd.org wrote:
snip
See also the discussion on svn-src-all regarding global struct mtx
alignment.
Thank you for proving my point. ;)
Let's go back and see how we can do this the sanest way. These are
the options I see at the
On Wed, Oct 24, 2012 at 8:16 PM, Andre Oppermann an...@freebsd.org wrote:
On 24.10.2012 20:56, Jim Harris wrote:
On Wed, Oct 24, 2012 at 11:41 AM, Adrian Chadd adr...@freebsd.org wrote:
On 24 October 2012 11:36, Jim Harris jimhar...@freebsd.org wrote:
Pad tdq_lock to avoid false sharing
On Wed, 24 Oct 2012, Attilio Rao wrote:
On Wed, Oct 24, 2012 at 8:16 PM, Andre Oppermann an...@freebsd.org wrote:
On 24.10.2012 20:56, Jim Harris wrote:
On Wed, Oct 24, 2012 at 11:41 AM, Adrian Chadd adr...@freebsd.org wrote:
On 24 October 2012 11:36, Jim Harris jimhar...@freebsd.org
On Wed, Oct 24, 2012 at 8:30 PM, Alexander Motin m...@freebsd.org wrote:
On 24.10.2012 22:16, Andre Oppermann wrote:
On 24.10.2012 20:56, Jim Harris wrote:
On Wed, Oct 24, 2012 at 11:41 AM, Adrian Chadd adr...@freebsd.org
wrote:
On 24 October 2012 11:36, Jim Harris jimhar...@freebsd.org
On 24.10.2012 21:49, Jim Harris wrote:
On Wed, Oct 24, 2012 at 12:16 PM, Andre Oppermann an...@freebsd.org wrote:
snip
See also the discussion on svn-src-all regarding global struct mtx
alignment.
Thank you for proving my point. ;)
Let's go back and see how we can do this the sanest way.
On 24.10.2012 21:06, Attilio Rao wrote:
On Wed, Oct 24, 2012 at 8:00 PM, Jim Harris jim.har...@gmail.com wrote:
On Wed, Oct 24, 2012 at 11:43 AM, John Baldwin j...@freebsd.org wrote:
On Wednesday, October 24, 2012 2:36:41 pm Jim Harris wrote:
Author: jimharris
Date: Wed Oct 24 18:36:41 2012
On Wed, Oct 24, 2012 at 9:25 PM, Andre Oppermann an...@freebsd.org wrote:
On 24.10.2012 21:06, Attilio Rao wrote:
On Wed, Oct 24, 2012 at 8:00 PM, Jim Harris jim.har...@gmail.com wrote:
On Wed, Oct 24, 2012 at 11:43 AM, John Baldwin j...@freebsd.org wrote:
On Wednesday, October 24, 2012
On 24.10.2012 21:30, Alexander Motin wrote:
On 24.10.2012 22:16, Andre Oppermann wrote:
On 24.10.2012 20:56, Jim Harris wrote:
On Wed, Oct 24, 2012 at 11:41 AM, Adrian Chadd adr...@freebsd.org
wrote:
On 24 October 2012 11:36, Jim Harris jimhar...@freebsd.org wrote:
Pad tdq_lock to avoid
On 24.10.2012 22:29, Attilio Rao wrote:
On Wed, Oct 24, 2012 at 9:25 PM, Andre Oppermann an...@freebsd.org wrote:
On 24.10.2012 21:06, Attilio Rao wrote:
As I've already said in another thread __align() doesn't work on
object declaration, so what that won't pad it either if it is global
or
On 24.10.2012 22:55, Andre Oppermann wrote:
On 24.10.2012 22:29, Attilio Rao wrote:
On Wed, Oct 24, 2012 at 9:25 PM, Andre Oppermann an...@freebsd.org wrote:
On 24.10.2012 21:06, Attilio Rao wrote:
As I've already said in another thread __align() doesn't work on
object declaration, so what
On Wed, 24 Oct 2012, Attilio Rao wrote:
On Wed, Oct 24, 2012 at 8:16 PM, Andre Oppermann an...@freebsd.org wrote:
...
Let's go back and see how we can do this the sanest way. These are
the options I see at the moment:
1. sprinkle __aligned(CACHE_LINE_SIZE) all over the place
This is wrong
On Thu, 25 Oct 2012, Andre Oppermann wrote:
...
I spoke too soon. Attilio is completely right in his assessment.
It does work when done on the struct definition:
struct mtx {
...
} __aligned(CACHE_LINE_SIZE); /* works including .bss alignment padding
*/
When creating a struct (in
24 matches
Mail list logo