Many OSes providing file mapping using virtual memory paging.
Is there any plugins in squeak, which allow to use them? |
FFI comes to mind, behaviour of that is very operating system, and
operating system version dependent. What are you trying to do? On Jul 20, 2007, at 10:20 AM, sig wrote: > Many OSes providing file mapping using virtual memory paging. > Is there any plugins in squeak, which allow to use them? > -- ======================================================================== === John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== === |
Make use of it for Magma DB persistance :)
On 20/07/07, John M McIntosh <[hidden email]> wrote: > FFI comes to mind, behaviour of that is very operating system, and > operating system version dependent. > What are you trying to do? > > On Jul 20, 2007, at 10:20 AM, sig wrote: > > > Many OSes providing file mapping using virtual memory paging. > > Is there any plugins in squeak, which allow to use them? > > > > -- > ======================================================================== > === > John M. McIntosh <[hidden email]> > Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com > ======================================================================== > === > > > > |
On Fri, 20 Jul 2007 21:17:12 +0200, sig wrote:
> Make use of it for Magma DB persistance :) - http://lists.squeakfoundation.org/pipermail/squeak-dev/2006-December/112204.html > > On 20/07/07, John M McIntosh <[hidden email]> wrote: >> FFI comes to mind, behaviour of that is very operating system, and >> operating system version dependent. >> What are you trying to do? >> >> On Jul 20, 2007, at 10:20 AM, sig wrote: >> >> > Many OSes providing file mapping using virtual memory paging. >> > Is there any plugins in squeak, which allow to use them? >> > >> >> -- >> ======================================================================== >> === >> John M. McIntosh <[hidden email]> >> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com >> ======================================================================== >> === >> >> >> >> > > |
First: what this primitive Avi mentioned, where i can look at it?
Second: I don't want to map objects directly to file. I mean i don't want to use a mapped file as part of VM object memory. I want to keep it separated and use it for persisting a magma DB. I'm just thinking about how to improve speed with which Magma can reify objects and commit them to storage. On 20/07/07, Klaus D. Witzel <[hidden email]> wrote: > On Fri, 20 Jul 2007 21:17:12 +0200, sig wrote: > > > Make use of it for Magma DB persistance :) > > - > http://lists.squeakfoundation.org/pipermail/squeak-dev/2006-December/112204.html > > > > > On 20/07/07, John M McIntosh <[hidden email]> wrote: > >> FFI comes to mind, behaviour of that is very operating system, and > >> operating system version dependent. > >> What are you trying to do? > >> > >> On Jul 20, 2007, at 10:20 AM, sig wrote: > >> > >> > Many OSes providing file mapping using virtual memory paging. > >> > Is there any plugins in squeak, which allow to use them? > >> > > >> > >> -- > >> ======================================================================== > >> === > >> John M. McIntosh <[hidden email]> > >> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com > >> ======================================================================== > >> === > >> > >> > >> > >> > > > > > > > > > |
On Sat, 21 Jul 2007 00:25:37 +0200, sig wrote:
> First: what this primitive Avi mentioned, where i can look at it? Class ImageSegment message category #primitives has users. > Second: I don't want to map objects directly to file. lol. Do objects know that you don't want that :) > I mean i don't > want to use a mapped file as part of VM object memory. ImageSegments are loaded/unloaded to/from VM object memory. > I want to keep > it separated and use it for persisting a magma DB. Then External* classes seem to be your choice (John mentioned FFI). > I'm just thinking about how to improve speed with which Magma can > reify objects and commit them to storage. > > On 20/07/07, Klaus D. Witzel <[hidden email]> wrote: >> On Fri, 20 Jul 2007 21:17:12 +0200, sig wrote: >> >> > Make use of it for Magma DB persistance :) >> >> - >> http://lists.squeakfoundation.org/pipermail/squeak-dev/2006-December/112204.html >> >> > >> > On 20/07/07, John M McIntosh <[hidden email]> wrote: >> >> FFI comes to mind, behaviour of that is very operating system, and >> >> operating system version dependent. >> >> What are you trying to do? >> >> >> >> On Jul 20, 2007, at 10:20 AM, sig wrote: >> >> >> >> > Many OSes providing file mapping using virtual memory paging. >> >> > Is there any plugins in squeak, which allow to use them? >> >> > >> >> >> >> -- >> >> >> ======================================================================== >> >> === >> >> John M. McIntosh <[hidden email]> >> >> Corporate Smalltalk Consulting Ltd. >> http://www.smalltalkconsulting.com >> >> >> ======================================================================== >> >> === >> >> >> >> >> >> >> >> >> > >> > >> >> >> >> >> > > |
On 21/07/07, Klaus D. Witzel <[hidden email]> wrote:
> On Sat, 21 Jul 2007 00:25:37 +0200, sig wrote: > > > First: what this primitive Avi mentioned, where i can look at it? > > Class ImageSegment message category #primitives has users. > > > Second: I don't want to map objects directly to file. > > lol. Do objects know that you don't want that :) If you may know, nobody asks objects about it ;) > > > I mean i don't > > want to use a mapped file as part of VM object memory. > > ImageSegments are loaded/unloaded to/from VM object memory. Yes, magma using same approach, but in more flexible way, rather simple fileout a graph segment. > > > I want to keep > > it separated and use it for persisting a magma DB. > > Then External* classes seem to be your choice (John mentioned FFI). > I just wanted to know, if, by chance primitives to use mapped files already exists. As i see they not. Well, i can write own (interesting, is Avi still needs them :) |
Free forum by Nabble | Edit this page |