Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-25 Thread Casper . Dik
>Richard L. Hamilton wrote: >>> C, the standard network stack runs on CPU0 (along >>> with many other >>> kernel items), though it might need some tuning for >>> your particular app. >>> >> [...] >> >> I thought that at least since FireEngine, the network stack could >> use multiple CPUs! >>

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-25 Thread Erik Trimble
Richard L. Hamilton wrote: C, the standard network stack runs on CPU0 (along with many other kernel items), though it might need some tuning for your particular app. [...] I thought that at least since FireEngine, the network stack could use multiple CPUs! Oooh! I just looked at the

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-24 Thread Richard L. Hamilton
> C, the standard network stack runs on CPU0 (along > with many other > kernel items), though it might need some tuning for > your particular app. [...] I thought that at least since FireEngine, the network stack could use multiple CPUs! -- This message posted from opensolaris.org __

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-24 Thread Erik Trimble
Karel Gardas wrote: Erik, thank you once again for very valuable recommendation. I'm distributed systems guy and plan to use the box for testing various messaging/rpc implementations with CORBA on the start going thorough various SOAs and MOMs. Now, with CORBA, MICO concretely (www.mico.org).

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-24 Thread Erik Trimble
Karel Gardas wrote: Erik, to be honest I quite don't get what you write here. The reason is engineering. 4 socket server means that 1 cpu is connected to another 2 and forms kind of ring. Nice simple picture is here: http://ixbtlabs.com/articles2/cpu/rmma-numa2.html Now, from this picture I

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-24 Thread Karel Gardas
Erik, thank you once again for very valuable recommendation. I'm distributed systems guy and plan to use the box for testing various messaging/rpc implementations with CORBA on the start going thorough various SOAs and MOMs. Now, with CORBA, MICO concretely (www.mico.org). Imagine this is just l

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-24 Thread Karel Gardas
Erik, first of all for all those information provided. I do have some further questions below. > For a 4-socket 800-series Opteron, there are two CPU > "groups" - > CPU0/CPU1 in group 0, and CPU2/CPU3 in group 1. Each > group has "local" > memory, which it can access at about 50ns speeds. >

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-23 Thread Erik Trimble
Karel Gardas wrote: Thanks Jan for the nice slides reference. The information is not there unfortunately. Anyway, as I'm thinking about it more having 4,1,1,1 memory on boards does not make a difference probably as long as no thread allocates more than X MB of RAM causing OS to steal a RAM fro

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-23 Thread Erik Trimble
Karel Gardas wrote: NO NO NO, You never want to do this. Processes that run on multiple CPUs need to be able to access the same memory range. Say you had a process load on cpu0 and start running accessing a given memory range and then it gets kicked off cpu0 due to a interrupt or some other reaso

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-22 Thread Karel Gardas
> NO NO NO, You never want to do this. Processes that > run on multiple CPUs need to be able to access the > same memory range. Say you had a process load on cpu0 > and start running accessing a given memory range and > then it gets kicked off cpu0 due to a interrupt or > some other reason and its

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-22 Thread Karel Gardas
Thanks Jan for the nice slides reference. The information is not there unfortunately. Anyway, as I'm thinking about it more having 4,1,1,1 memory on boards does not make a difference probably as long as no thread allocates more than X MB of RAM causing OS to steal a RAM from CPU with 4 GB. So fo

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-22 Thread Mike DeMarco
NO NO NO, You never want to do this. Processes that run on multiple CPUs need to be able to access the same memory range. Say you had a process load on cpu0 and start running accessing a given memory range and then it gets kicked off cpu0 due to a interrupt or some other reason and its next run

Re: [osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-19 Thread Jan Friedel
On Fri, Mar 19, 2010 at 06:20:50AM -0700, Karel Gardas wrote: > Hello, > for development/testing purposes I've purchased old HP ProLiant DL585 which > comes with 4 CPU boards of Opterons 875 (dual-core). The problem is that this > box comes with 4GB RAM which is attached to just one CPU, hence IM

[osol-discuss] AMD64/NUMA: is it possible to limit amount of memory available to one CPU?

2010-03-19 Thread Karel Gardas
Hello, for development/testing purposes I've purchased old HP ProLiant DL585 which comes with 4 CPU boards of Opterons 875 (dual-core). The problem is that this box comes with 4GB RAM which is attached to just one CPU, hence IMHO NUMA is quite degenerated to bad SMP here. As a solution I plan to