Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem
That's a great quote for marketing Pharo. Thanks Oscar. Oscar EA Callaú wrote: FYI, I don’t have speed problems with such memory. Of course, If I’ll process some big data, I’ll wait a while to get the answer, but the same happens in any other lang/platt. Certainty, I can do fast experiments in C, but I don’t get all Pharo benefits, like pausing my analysis and resuming it later, such thing in C (or may be any other language) _would require to store the intermediate data into files or a database. With Pharo, I don’t care about that._
Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem
Hi, As far as I can tell, you should set the limit in MBytes. So, for 2G, you should have: AddressSpaceLimit=2048 I am using 1GB for some Moose analyses. I benchmarked and got no sign of slowdown. Cheers, Doru On Fri, Oct 4, 2013 at 6:10 AM, Oscar EA Callaú oalva...@dcc.uchile.clwrote: Thanks a lot, I added ** ** AddressSpaceLimit = 2147483648 ** ** To the .ini file and all is working smoothly. ** ** FYI, I don’t have speed problems with such memory. Of course, If I’ll process some big data, I’ll wait a while to get the answer, but the same happens in any other lang/platt. Certainty, I can do fast experiments in C, but I don’t get all Pharo benefits, like pausing my analysis and resuming it later, such thing in C (or may be any other language) would require to store the intermediate data into files or a database. With Pharo, I don’t care about that. ** ** Cheers. ** ** *From:* Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] *On Behalf Of *Guillermo Polito *Sent:* Thursday, October 3, 2013 2:37 AM *To:* Pharo Development List *Subject:* Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem* *** ** ** I can only guess by the comment in the commit: ** ** https://gitorious.org/cogvm/blessed/commit/341e6c2e150bcde80dfea6c890bab7745b2a6d44 ** ** Can you check that? ** ** Guille ** ** On Thu, Oct 3, 2013 at 6:36 AM, Oscar EA Callaú oalva...@dcc.uchile.cl wrote: Thanks, but what would be the parameter? This is the default .ini [Global] DeferUpdate=1 ShowConsole=0 DynamicConsole=1 ReduceCPUUsage=1 ReduceCPUInBackground=0 3ButtonMouse=0 1ButtonMouse=0 UseDirectSound=1 PriorityBoost=1 B3DXUsesOpenGL=0 CaseSensitiveFileMode=0 So there is no mention the paratemer to change or add. Cheers. *From:* Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] *On Behalf Of *Guillermo Polito *Sent:* Friday, September 27, 2013 5:18 AM *To:* Pharo Development List *Subject:* Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem* *** I think latest Pharo VM supports to change the memory limit by only changing an ini file. Igor did that not long ago. Cheers, Guille On Fri, Sep 27, 2013 at 2:09 PM, Oscar E. A. Callaú oalva...@dcc.uchile.cl wrote: Hi Guys, I read in this thread http://forum.world.st/out-of-memory-cog-on-windows-td3465621.html that 512 mb limit can be avoided in windows, but a re-compilation is needed. I was wondering if the situation changed, and now we can pass a parameter. Otherwise, I would be interested if any of you has a pre-compiled vm with more mem. I need to run some experiments and I need 2GB (or 1.5 GB at least ) on a cog VM for Windows. Thanks in advance. Oscar ** ** -- www.tudorgirba.com Every thing has its own flow
Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem
I can only guess by the comment in the commit: https://gitorious.org/cogvm/blessed/commit/341e6c2e150bcde80dfea6c890bab7745b2a6d44 Can you check that? Guille On Thu, Oct 3, 2013 at 6:36 AM, Oscar EA Callaú oalva...@dcc.uchile.clwrote: Thanks, but what would be the parameter? ** ** This is the default .ini ** ** [Global] DeferUpdate=1 ShowConsole=0 DynamicConsole=1 ReduceCPUUsage=1 ReduceCPUInBackground=0 3ButtonMouse=0 1ButtonMouse=0 UseDirectSound=1 PriorityBoost=1 B3DXUsesOpenGL=0 CaseSensitiveFileMode=0 ** ** ** ** So there is no mention the paratemer to change or add. ** ** Cheers. ** ** *From:* Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] *On Behalf Of *Guillermo Polito *Sent:* Friday, September 27, 2013 5:18 AM *To:* Pharo Development List *Subject:* Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem* *** ** ** I think latest Pharo VM supports to change the memory limit by only changing an ini file. Igor did that not long ago. ** ** Cheers, Guille ** ** On Fri, Sep 27, 2013 at 2:09 PM, Oscar E. A. Callaú oalva...@dcc.uchile.cl wrote: Hi Guys, ** ** I read in this thread ** ** http://forum.world.st/out-of-memory-cog-on-windows-td3465621.html ** ** that 512 mb limit can be avoided in windows, but a re-compilation is needed. I was wondering if the situation changed, and now we can pass a parameter. Otherwise, I would be interested if any of you has a pre-compiled vm with more mem. ** ** I need to run some experiments and I need 2GB (or 1.5 GB at least ) on a cog VM for Windows. ** ** Thanks in advance. ** ** Oscar ** **
Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem
Talking about GBs it makes me wonder , even if the image allowed more than 500MBs if that would be a wise move. Smalltalk is afterall one of the slowest , execution wise, programming languages. In python which is as slow if not slower, the attitude is to move big data to C libs and then interface with these C libs via python. When I see even morphic at times take up to 50% of my dual core 2.0GHz CPU just makes me wonder if cramming 1 GB or more inside the image will end bringing pharo to a crawl for processing that data. So what pharo may need is something that already nativeboost is doing, mapping to C types and access to fast C functions for processing and manipulating big data. Just make it more easier. For example python has numpy (mainly C code, extra types etc) and nowdays also Blaze is emerging as a future candidate. https://github.com/ContinuumIO/blaze https://github.com/ContinuumIO/blaze just a thought. -- View this message in context: http://forum.world.st/Pharo-cog-Vm-on-Windows-with-2GB-virtual-mem-tp4710746p4712155.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem
Thanks a lot, I added AddressSpaceLimit = 2147483648 To the .ini file and all is working smoothly. FYI, I dont have speed problems with such memory. Of course, If Ill process some big data, Ill wait a while to get the answer, but the same happens in any other lang/platt. Certainty, I can do fast experiments in C, but I dont get all Pharo benefits, like pausing my analysis and resuming it later, such thing in C (or may be any other language) would require to store the intermediate data into files or a database. With Pharo, I dont care about that. Cheers. From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Guillermo Polito Sent: Thursday, October 3, 2013 2:37 AM To: Pharo Development List Subject: Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem I can only guess by the comment in the commit: https://gitorious.org/cogvm/blessed/commit/341e6c2e150bcde80dfea6c890bab7745 b2a6d44 Can you check that? Guille On Thu, Oct 3, 2013 at 6:36 AM, Oscar EA Callaú oalva...@dcc.uchile.cl mailto:oalva...@dcc.uchile.cl wrote: Thanks, but what would be the parameter? This is the default .ini [Global] DeferUpdate=1 ShowConsole=0 DynamicConsole=1 ReduceCPUUsage=1 ReduceCPUInBackground=0 3ButtonMouse=0 1ButtonMouse=0 UseDirectSound=1 PriorityBoost=1 B3DXUsesOpenGL=0 CaseSensitiveFileMode=0 So there is no mention the paratemer to change or add. Cheers. From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org mailto:pharo-dev-boun...@lists.pharo.org ] On Behalf Of Guillermo Polito Sent: Friday, September 27, 2013 5:18 AM To: Pharo Development List Subject: Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem I think latest Pharo VM supports to change the memory limit by only changing an ini file. Igor did that not long ago. Cheers, Guille On Fri, Sep 27, 2013 at 2:09 PM, Oscar E. A. Callaú oalva...@dcc.uchile.cl mailto:oalva...@dcc.uchile.cl wrote: Hi Guys, I read in this thread http://forum.world.st/out-of-memory-cog-on-windows-td3465621.html that 512 mb limit can be avoided in windows, but a re-compilation is needed. I was wondering if the situation changed, and now we can pass a parameter. Otherwise, I would be interested if any of you has a pre-compiled vm with more mem. I need to run some experiments and I need 2GB (or 1.5 GB at least ) on a cog VM for Windows. Thanks in advance. Oscar
[Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem
Hi Guys, I read in this thread http://forum.world.st/out-of-memory-cog-on-windows-td3465621.html that 512 mb limit can be avoided in windows, but a re-compilation is needed. I was wondering if the situation changed, and now we can pass a parameter. Otherwise, I would be interested if any of you has a pre-compiled vm with more mem. I need to run some experiments and I need 2GB (or 1.5 GB at least ) on a cog VM for Windows. Thanks in advance. Oscar
Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem
I think latest Pharo VM supports to change the memory limit by only changing an ini file. Igor did that not long ago. Cheers, Guille On Fri, Sep 27, 2013 at 2:09 PM, Oscar E. A. Callaú oalva...@dcc.uchile.clwrote: Hi Guys, I read in this thread http://forum.world.st/out-of-memory-cog-on-windows-td3465621.html that 512 mb limit can be avoided in windows, but a re-compilation is needed. I was wondering if the situation changed, and now we can pass a parameter. Otherwise, I would be interested if any of you has a pre-compiled vm with more mem. I need to run some experiments and I need 2GB (or 1.5 GB at least ) on a cog VM for Windows. Thanks in advance. Oscar