...at http://www.mirandabanda.org/files/Cog/VM/VM.r2761/.
CogVM binaries as per VMMaker.oscog-eem.317/r2761 Fix bug in transferTo:(from:) when doing a code compaction when ensuring there is a machine code method when switching to a process whose context has a machine code pc. Limit the ammount of space the Cogit will stack allocate when compiling. This limits the maximum number of bytecodes in a method that the Cogit will compile. Currently set at 1.5Mb of stack space from empirical tests of alloca on Mac OS X 10.6, linux 2.6 & Windows XP. Fix become for cog methods that are not paired with their bytecoded methods (e.g. Newspeak accessors). Linux: There are two variants of the Linux VMs; those ending in "ht" have a heartbeat thread, while those that don't, use an interval timer for the heartbeat (the Windows and Mac VMs have a threaded heartbeat). The threaded heartbeat is better (for example, signals from the interval timer interfere with system calls, etc), but to use it one must have a kernel later than 2.6.12 and configure linux to allow the VM to use multiple thread priorities. To do so, create a file called VM.conf where VM is the name of the vm executable ("squeak" for the Squeak vm, "nsvm" for the Newspeak vm) in /etc/security/limits.d/ with contents: * hard rtprio 2 * soft rtprio 2 e.g. sudo cat >/etc/security/limits.d/squeak.conf <<END * hard rtprio 2 * soft rtprio 2 sudo cp /etc/security/limits.d/squeak.conf /etc/security/limits.d/nsvm.conf END Then log out and log back in for the limits to take effect. -- best, Eliot |
On 2 August 2013 05:05, Eliot Miranda <[hidden email]> wrote:
> > ...at http://www.mirandabanda.org/files/Cog/VM/VM.r2761/. CI duly updated. I _haven't_ added a VM.conf for build.squeak.org. frank |
In reply to this post by Eliot Miranda-2
I updated the 4.4 all-in-one and put it here:
https://dl.dropboxusercontent.com/u/4460862/Squeak-4.4-All-In-One.zip On linux I'm not using the ht vm. If you attempt to use the HT vm without making the kernel modifications does it behave like the non-HT vm or just crash? Thanks Paul <quote author="Eliot Miranda-2"> ...at http://www.mirandabanda.org/files/Cog/VM/VM.r2761/. CogVM binaries as per VMMaker.oscog-eem.317/r2761 Fix bug in transferTo:(from:) when doing a code compaction when ensuring there is a machine code method when switching to a process whose context has a machine code pc. Limit the ammount of space the Cogit will stack allocate when compiling. This limits the maximum number of bytecodes in a method that the Cogit will compile. Currently set at 1.5Mb of stack space from empirical tests of alloca on Mac OS X 10.6, linux 2.6 & Windows XP. Fix become for cog methods that are not paired with their bytecoded methods (e.g. Newspeak accessors). Linux: There are two variants of the Linux VMs; those ending in "ht" have a heartbeat thread, while those that don't, use an interval timer for the heartbeat (the Windows and Mac VMs have a threaded heartbeat). The threaded heartbeat is better (for example, signals from the interval timer interfere with system calls, etc), but to use it one must have a kernel later than 2.6.12 and configure linux to allow the VM to use multiple thread priorities. To do so, create a file called VM.conf where VM is the name of the vm executable ("squeak" for the Squeak vm, "nsvm" for the Newspeak vm) in /etc/security/limits.d/ with contents: * hard rtprio 2 * soft rtprio 2 e.g. sudo cat >/etc/security/limits.d/squeak.conf <<END * hard rtprio 2 * soft rtprio 2 sudo cp /etc/security/limits.d/squeak.conf /etc/security/limits.d/nsvm.conf END Then log out and log back in for the limits to take effect. -- best, Eliot </quote> |
On Fri, Aug 2, 2013 at 9:34 AM, Paul DeBruicker <[hidden email]> wrote:
> I updated the 4.4 all-in-one and put it here: > > https://dl.dropboxusercontent.com/u/4460862/Squeak-4.4-All-In-One.zip > > > On linux I'm not using the ht vm. > > > > If you attempt to use the HT vm without making the kernel modifications does > it behave like the non-HT vm or just crash? It exits with a cryptic error message: $ coglinuxht/squeak myimage.image pthread_setschedparam failed; consider using ITIMER_HEARTBEAT: Operation not permitted > > > Thanks > > Paul > > > > > ...at http://www.mirandabanda.org/files/Cog/VM/VM.r2761/. > > CogVM binaries as per VMMaker.oscog-eem.317/r2761 > > Fix bug in transferTo:(from:) when doing a code compaction when > ensuring there is a machine code method when switching to a > process whose context has a machine code pc. > > Limit the ammount of space the Cogit will stack allocate when compiling. > This limits the maximum number of bytecodes in a method that the > Cogit will compile. Currently set at 1.5Mb of stack space from empirical > tests of alloca on Mac OS X 10.6, linux 2.6 & Windows XP. > > Fix become for cog methods that are not paired with their > bytecoded methods (e.g. Newspeak accessors). > > Linux: > > There are two variants of the Linux VMs; those ending in "ht" have a > heartbeat thread, while those that don't, use an interval timer for the > heartbeat (the Windows and Mac VMs have a threaded heartbeat). The > threaded heartbeat is better (for example, signals from the interval timer > interfere with system calls, etc), but to use it one must have a kernel > later than 2.6.12 and configure linux to allow the VM to use multiple > thread priorities. To do so, create a file called VM.conf where VM is > the name of the vm executable ("squeak" for the Squeak vm, "nsvm" for > the Newspeak vm) in /etc/security/limits.d/ with contents: > * hard rtprio 2 > * soft rtprio 2 > > e.g. > sudo cat >/etc/security/limits.d/squeak.conf <<END > * hard rtprio 2 > * soft rtprio 2 > sudo cp /etc/security/limits.d/squeak.conf /etc/security/limits.d/nsvm.conf > END > Then log out and log back in for the limits to take effect. > -- > best, > Eliot > </quote> > > > > -- > View this message in context: http://forum.world.st/New-Cog-VMs-available-tp4701896p4701959.html > Sent from the Squeak - Dev mailing list archive at Nabble.com. > -- best, Eliot |
Free forum by Nabble | Edit this page |