[Glass] Hosting GLASS and CPU limit problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Glass] Hosting GLASS and CPU limit problem

GLASS mailing list
Hi guys, 

We are trying to run away from our self-hosted server that currently runs GLASS/Seaside and we are searching for a cloud hosting. We are finding that we are very limited because of the CPU cores limit. Many of the providers increase the data storage or the RAM, but ALSO the cores... It is hard to find one where I can keep only 2 cores, yet increase RAM and storage. And buying the GemStone license of 4 cores is a bit too much for our needs right now. (and maybe even moving to 4 cores only allows a little increment in RAM and storage). 

I think I tried before and the way GemStone limited the 2 cores was simply at installation time, if the machine had 2 cores, it simply refused to install. So let me ask, this continues like that? There is no way I can have a server with more cores and yet let GemStone only use 2?

Thanks in advance, 

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Hosting GLASS and CPU limit problem

GLASS mailing list
Mariano,

We use processor affinity to limit GemStone to using only two of the cores ... You should be able to install and run GemStone on a machine with more than 2 cores.

Dale

On 2/10/15 7:08 AM, Mariano Martinez Peck via Glass wrote:
Hi guys, 

We are trying to run away from our self-hosted server that currently runs GLASS/Seaside and we are searching for a cloud hosting. We are finding that we are very limited because of the CPU cores limit. Many of the providers increase the data storage or the RAM, but ALSO the cores... It is hard to find one where I can keep only 2 cores, yet increase RAM and storage. And buying the GemStone license of 4 cores is a bit too much for our needs right now. (and maybe even moving to 4 cores only allows a little increment in RAM and storage). 

I think I tried before and the way GemStone limited the 2 cores was simply at installation time, if the machine had 2 cores, it simply refused to install. So let me ask, this continues like that? There is no way I can have a server with more cores and yet let GemStone only use 2?

Thanks in advance, 


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Hosting GLASS and CPU limit problem

GLASS mailing list
Ohhh this is good news! 
Dale, do you know if this is even since 3.1 ?

Thanks in advance, 


On Tue, Feb 10, 2015 at 12:16 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

We use processor affinity to limit GemStone to using only two of the cores ... You should be able to install and run GemStone on a machine with more than 2 cores.

Dale


On 2/10/15 7:08 AM, Mariano Martinez Peck via Glass wrote:
Hi guys, 

We are trying to run away from our self-hosted server that currently runs GLASS/Seaside and we are searching for a cloud hosting. We are finding that we are very limited because of the CPU cores limit. Many of the providers increase the data storage or the RAM, but ALSO the cores... It is hard to find one where I can keep only 2 cores, yet increase RAM and storage. And buying the GemStone license of 4 cores is a bit too much for our needs right now. (and maybe even moving to 4 cores only allows a little increment in RAM and storage). 

I think I tried before and the way GemStone limited the 2 cores was simply at installation time, if the machine had 2 cores, it simply refused to install. So let me ask, this continues like that? There is no way I can have a server with more cores and yet let GemStone only use 2?

Thanks in advance, 


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass




--

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Hosting GLASS and CPU limit problem

GLASS mailing list
Mariano,

I don't recall any "installation time limitations". We've been using processor affinity for quite a while now.

Dale

On 2/10/15 7:17 AM, Mariano Martinez Peck wrote:
Ohhh this is good news! 
Dale, do you know if this is even since 3.1 ?

Thanks in advance, 


On Tue, Feb 10, 2015 at 12:16 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

We use processor affinity to limit GemStone to using only two of the cores ... You should be able to install and run GemStone on a machine with more than 2 cores.

Dale


On 2/10/15 7:08 AM, Mariano Martinez Peck via Glass wrote:
Hi guys, 

We are trying to run away from our self-hosted server that currently runs GLASS/Seaside and we are searching for a cloud hosting. We are finding that we are very limited because of the CPU cores limit. Many of the providers increase the data storage or the RAM, but ALSO the cores... It is hard to find one where I can keep only 2 cores, yet increase RAM and storage. And buying the GemStone license of 4 cores is a bit too much for our needs right now. (and maybe even moving to 4 cores only allows a little increment in RAM and storage). 

I think I tried before and the way GemStone limited the 2 cores was simply at installation time, if the machine had 2 cores, it simply refused to install. So let me ask, this continues like that? There is no way I can have a server with more cores and yet let GemStone only use 2?

Thanks in advance, 


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass




--


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Hosting GLASS and CPU limit problem

GLASS mailing list


On Tue, Feb 10, 2015 at 12:21 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

I don't recall any "installation time limitations". We've been using processor affinity for quite a while now.


mmmm I recall once I was trying to install Glass in a CentOS running in a VirtualBox that had 4 cores. I remember I had an error at installation time. Then I changed the settings in VirtualBox to have only 2 cores and the installation was successful. But my memory may be bad.
So you are saying the GLASS should be using processor affinity even in 3.1 correct? 

Thanks, 

 
Dale


On 2/10/15 7:17 AM, Mariano Martinez Peck wrote:
Ohhh this is good news! 
Dale, do you know if this is even since 3.1 ?

Thanks in advance, 


On Tue, Feb 10, 2015 at 12:16 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

We use processor affinity to limit GemStone to using only two of the cores ... You should be able to install and run GemStone on a machine with more than 2 cores.

Dale


On 2/10/15 7:08 AM, Mariano Martinez Peck via Glass wrote:
Hi guys, 

We are trying to run away from our self-hosted server that currently runs GLASS/Seaside and we are searching for a cloud hosting. We are finding that we are very limited because of the CPU cores limit. Many of the providers increase the data storage or the RAM, but ALSO the cores... It is hard to find one where I can keep only 2 cores, yet increase RAM and storage. And buying the GemStone license of 4 cores is a bit too much for our needs right now. (and maybe even moving to 4 cores only allows a little increment in RAM and storage). 

I think I tried before and the way GemStone limited the 2 cores was simply at installation time, if the machine had 2 cores, it simply refused to install. So let me ask, this continues like that? There is no way I can have a server with more cores and yet let GemStone only use 2?

Thanks in advance, 


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass




--




--

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Hosting GLASS and CPU limit problem

GLASS mailing list
Mariano,

The cpu affinity has been in place for a pretty long time, I think as far back as 2.4.4.1 and even before ...

Dale
On 02/10/2015 07:22 AM, Mariano Martinez Peck wrote:


On Tue, Feb 10, 2015 at 12:21 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

I don't recall any "installation time limitations". We've been using processor affinity for quite a while now.


mmmm I recall once I was trying to install Glass in a CentOS running in a VirtualBox that had 4 cores. I remember I had an error at installation time. Then I changed the settings in VirtualBox to have only 2 cores and the installation was successful. But my memory may be bad.
So you are saying the GLASS should be using processor affinity even in 3.1 correct? 

Thanks, 

 
Dale


On 2/10/15 7:17 AM, Mariano Martinez Peck wrote:
Ohhh this is good news! 
Dale, do you know if this is even since 3.1 ?

Thanks in advance, 


On Tue, Feb 10, 2015 at 12:16 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

We use processor affinity to limit GemStone to using only two of the cores ... You should be able to install and run GemStone on a machine with more than 2 cores.

Dale


On 2/10/15 7:08 AM, Mariano Martinez Peck via Glass wrote:
Hi guys, 

We are trying to run away from our self-hosted server that currently runs GLASS/Seaside and we are searching for a cloud hosting. We are finding that we are very limited because of the CPU cores limit. Many of the providers increase the data storage or the RAM, but ALSO the cores... It is hard to find one where I can keep only 2 cores, yet increase RAM and storage. And buying the GemStone license of 4 cores is a bit too much for our needs right now. (and maybe even moving to 4 cores only allows a little increment in RAM and storage). 

I think I tried before and the way GemStone limited the 2 cores was simply at installation time, if the machine had 2 cores, it simply refused to install. So let me ask, this continues like that? There is no way I can have a server with more cores and yet let GemStone only use 2?

Thanks in advance, 


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass




--




--


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Hosting GLASS and CPU limit problem

GLASS mailing list
OK, thanks Dale. Then it might have been something different what I remember.

Thanks!

On Tue, Feb 10, 2015 at 2:45 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

The cpu affinity has been in place for a pretty long time, I think as far back as 2.4.4.1 and even before ...

Dale

On 02/10/2015 07:22 AM, Mariano Martinez Peck wrote:


On Tue, Feb 10, 2015 at 12:21 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

I don't recall any "installation time limitations". We've been using processor affinity for quite a while now.


mmmm I recall once I was trying to install Glass in a CentOS running in a VirtualBox that had 4 cores. I remember I had an error at installation time. Then I changed the settings in VirtualBox to have only 2 cores and the installation was successful. But my memory may be bad.
So you are saying the GLASS should be using processor affinity even in 3.1 correct? 

Thanks, 

 
Dale


On 2/10/15 7:17 AM, Mariano Martinez Peck wrote:
Ohhh this is good news! 
Dale, do you know if this is even since 3.1 ?

Thanks in advance, 


On Tue, Feb 10, 2015 at 12:16 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

We use processor affinity to limit GemStone to using only two of the cores ... You should be able to install and run GemStone on a machine with more than 2 cores.

Dale


On 2/10/15 7:08 AM, Mariano Martinez Peck via Glass wrote:
Hi guys, 

We are trying to run away from our self-hosted server that currently runs GLASS/Seaside and we are searching for a cloud hosting. We are finding that we are very limited because of the CPU cores limit. Many of the providers increase the data storage or the RAM, but ALSO the cores... It is hard to find one where I can keep only 2 cores, yet increase RAM and storage. And buying the GemStone license of 4 cores is a bit too much for our needs right now. (and maybe even moving to 4 cores only allows a little increment in RAM and storage). 

I think I tried before and the way GemStone limited the 2 cores was simply at installation time, if the machine had 2 cores, it simply refused to install. So let me ask, this continues like that? There is no way I can have a server with more cores and yet let GemStone only use 2?

Thanks in advance, 


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass




--




--




--

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Hosting GLASS and CPU limit problem

GLASS mailing list
Mariano,

Am 10.02.2015 um 18:55 schrieb Mariano Martinez Peck via Glass <[hidden email]>:

OK, thanks Dale. Then it might have been something different what I remember.

there are other things. It is not just that gemstone limits the installation to two cores but it insists using CPU core #0 and #1. We've built LXC containers and assigned cores to those. That doesn't work if the container hasn't assigned cores #0 and #1. You need to know that scheduling in linux is in a way that spawning a process is first down on the core the forking process runs and is then probably offloaded due to shortage on that core. So on boot a lot of processes will be on the first cores and then moved away.

Norbert

Thanks!

On Tue, Feb 10, 2015 at 2:45 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

The cpu affinity has been in place for a pretty long time, I think as far back as 2.4.4.1 and even before ... 

Dale

On 02/10/2015 07:22 AM, Mariano Martinez Peck wrote:


On Tue, Feb 10, 2015 at 12:21 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

I don't recall any "installation time limitations". We've been using processor affinity for quite a while now.


mmmm I recall once I was trying to install Glass in a CentOS running in a VirtualBox that had 4 cores. I remember I had an error at installation time. Then I changed the settings in VirtualBox to have only 2 cores and the installation was successful. But my memory may be bad.
So you are saying the GLASS should be using processor affinity even in 3.1 correct? 

Thanks, 

 
Dale


On 2/10/15 7:17 AM, Mariano Martinez Peck wrote:
Ohhh this is good news! 
Dale, do you know if this is even since 3.1 ?

Thanks in advance, 


On Tue, Feb 10, 2015 at 12:16 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

We use processor affinity to limit GemStone to using only two of the cores ... You should be able to install and run GemStone on a machine with more than 2 cores.

Dale


On 2/10/15 7:08 AM, Mariano Martinez Peck via Glass wrote:
Hi guys, 

We are trying to run away from our self-hosted server that currently runs GLASS/Seaside and we are searching for a cloud hosting. We are finding that we are very limited because of the CPU cores limit. Many of the providers increase the data storage or the RAM, but ALSO the cores... It is hard to find one where I can keep only 2 cores, yet increase RAM and storage. And buying the GemStone license of 4 cores is a bit too much for our needs right now. (and maybe even moving to 4 cores only allows a little increment in RAM and storage). 

I think I tried before and the way GemStone limited the 2 cores was simply at installation time, if the machine had 2 cores, it simply refused to install. So let me ask, this continues like that? There is no way I can have a server with more cores and yet let GemStone only use 2?

Thanks in advance, 


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass




-- 




-- 




-- 
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Hosting GLASS and CPU limit problem

GLASS mailing list


On Wed, Feb 11, 2015 at 7:23 PM, Norbert Hartl <[hidden email]> wrote:
Mariano,

Am 10.02.2015 um 18:55 schrieb Mariano Martinez Peck via Glass <[hidden email]>:

OK, thanks Dale. Then it might have been something different what I remember.

there are other things. It is not just that gemstone limits the installation to two cores but it insists using CPU core #0 and #1. We've built LXC containers and assigned cores to those. That doesn't work if the container hasn't assigned cores #0 and #1. You need to know that scheduling in linux is in a way that spawning a process is first down on the core the forking process runs and is then probably offloaded due to shortage on that core. So on boot a lot of processes will be on the first cores and then moved away.


Hi Norbert, 

I am not sure I understood you correctly. Could you explain a bit more please? What you are saying is that you try to kind of "reserve core0 and core1" as much as possible for GemStone? If true, how did you do that?  Because that was going to be another of my question. Which is...imagine I have a 4 or 6 cores machine...is there something I can do so that I keep core0 and core1 as much as possible for GemStone and make the OS use as much as possible the other 2 or 4 cores? 

Thanks in advance, 
 
Norbert

Thanks!

On Tue, Feb 10, 2015 at 2:45 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

The cpu affinity has been in place for a pretty long time, I think as far back as 2.4.4.1 and even before ... 

Dale

On 02/10/2015 07:22 AM, Mariano Martinez Peck wrote:


On Tue, Feb 10, 2015 at 12:21 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

I don't recall any "installation time limitations". We've been using processor affinity for quite a while now.


mmmm I recall once I was trying to install Glass in a CentOS running in a VirtualBox that had 4 cores. I remember I had an error at installation time. Then I changed the settings in VirtualBox to have only 2 cores and the installation was successful. But my memory may be bad.
So you are saying the GLASS should be using processor affinity even in 3.1 correct? 

Thanks, 

 
Dale


On 2/10/15 7:17 AM, Mariano Martinez Peck wrote:
Ohhh this is good news! 
Dale, do you know if this is even since 3.1 ?

Thanks in advance, 


On Tue, Feb 10, 2015 at 12:16 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

We use processor affinity to limit GemStone to using only two of the cores ... You should be able to install and run GemStone on a machine with more than 2 cores.

Dale


On 2/10/15 7:08 AM, Mariano Martinez Peck via Glass wrote:
Hi guys, 

We are trying to run away from our self-hosted server that currently runs GLASS/Seaside and we are searching for a cloud hosting. We are finding that we are very limited because of the CPU cores limit. Many of the providers increase the data storage or the RAM, but ALSO the cores... It is hard to find one where I can keep only 2 cores, yet increase RAM and storage. And buying the GemStone license of 4 cores is a bit too much for our needs right now. (and maybe even moving to 4 cores only allows a little increment in RAM and storage). 

I think I tried before and the way GemStone limited the 2 cores was simply at installation time, if the machine had 2 cores, it simply refused to install. So let me ask, this continues like that? There is no way I can have a server with more cores and yet let GemStone only use 2?

Thanks in advance, 


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass




-- 




-- 




-- 
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass




--

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass