[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] mmap
From: |
Andy Bennett |
Subject: |
Re: [Chicken-hackers] mmap |
Date: |
Fri, 11 Jul 2014 14:19:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 |
Hi,
> Andy, can you elaborate on the blocking scenario you are seeing?
My particular scenario is that I'm using SQLite with a pool of many
database connections and I'm seeing those connections use a lot of
memory that could be shared by using the SQLites mmap functionality
rather than it's traditional read/write model.
In weighing up the pros and cons I realised that these mmap calls would
unpredictably block in the FFI. I then realised that the existing read
calls are probably also blocking in the FFI but haven't had a chance to
profile or measure it yet: It's a bit of a yak shaving exercise given
that my current actual goal is to manage memory usage better. Once I've
done that I'll be more interested in the actual performance issues.
Regards,
@ndy
--
address@hidden
http://www.ashurst.eu.org/
0x7EBA75FF
- Re: [Chicken-hackers] library unit restructuring, (continued)
- Re: [Chicken-hackers] library unit restructuring, Felix Winkelmann, 2014/07/09
- Re: [Chicken-hackers] library unit restructuring, Alex Shinn, 2014/07/13
- Re: [Chicken-hackers] library unit restructuring, Evan Hanson, 2014/07/13
- Re: [Chicken-hackers] library unit restructuring, Felix Winkelmann, 2014/07/13
- Re: [Chicken-hackers] library unit restructuring, Christian Kellermann, 2014/07/14
- Re: [Chicken-hackers] library unit restructuring, Evan Hanson, 2014/07/14
[Chicken-hackers] mmap (was: Re: library unit restructuring), Andy Bennett, 2014/07/10
- [Chicken-hackers] mmap (was: Re: library unit restructuring), Andy Bennett, 2014/07/10
- Re: [Chicken-hackers] mmap, Felix Winkelmann, 2014/07/11
- Re: [Chicken-hackers] mmap, John Cowan, 2014/07/11
- Re: [Chicken-hackers] mmap, Andy Bennett, 2014/07/11
- Re: [Chicken-hackers] mmap, Felix Winkelmann, 2014/07/11