Re: [Haskell-cafe] OS swapping and haskell data structures

2007-08-08 Thread Ketil Malde
On Tue, 2007-07-31 at 22:45 -0700, Alex Jacobson wrote: > If you create a Data.Map or Data.Set larger than fits in physical > memory, will OS level swapping enable your app to behave reasonably or > will things just die catastrophically as you hit a memory limit? It will die (catastrophically or

Re: [Haskell-cafe] OS swapping and haskell data structures

2007-08-01 Thread Seth Gordon
Alex Jacobson wrote: > Ok, so for low throughput applications, you actually need a disk > strategy. Got it. > > Ok, is there a standard interface to BerkleyDB or some other disk based > store? I would absolutely kvell if there were some way to use a disk-based store to back Haskell objects witho

Re: [Haskell-cafe] OS swapping and haskell data structures

2007-08-01 Thread Duncan Coutts
On Wed, 2007-08-01 at 12:32 -0700, Alex Jacobson wrote: > Ok, so for low throughput applications, you actually need a disk > strategy. Got it. > > Ok, is there a standard interface to BerkleyDB or some other disk based > store? Well on hackage there's anydbm and BerkeleyDB. The former is proba

Re: [Haskell-cafe] OS swapping and haskell data structures

2007-08-01 Thread Alex Jacobson
Ok, so for low throughput applications, you actually need a disk strategy. Got it. Ok, is there a standard interface to BerkleyDB or some other disk based store? -Alex- Duncan Coutts wrote: On Wed, 2007-08-01 at 11:31 -0700, Bryan O'Sullivan wrote: Alex Jacobson wrote: If you create a

Re: [Haskell-cafe] OS swapping and haskell data structures

2007-08-01 Thread Duncan Coutts
On Wed, 2007-08-01 at 11:31 -0700, Bryan O'Sullivan wrote: > Alex Jacobson wrote: > > If you create a Data.Map or Data.Set larger than fits in physical > > memory, will OS level swapping enable your app to behave reasonably or > > will things just die catastrophically as you hit a memory limit? >

Re: [Haskell-cafe] OS swapping and haskell data structures

2007-08-01 Thread Bryan O'Sullivan
Alex Jacobson wrote: If you create a Data.Map or Data.Set larger than fits in physical memory, will OS level swapping enable your app to behave reasonably or will things just die catastrophically as you hit a memory limit? Relying on the OS to page portions of your app in and out should always

Re: [Haskell-cafe] OS swapping and haskell data structures

2007-07-31 Thread Stefan O'Rear
On Tue, Jul 31, 2007 at 10:45:56PM -0700, Alex Jacobson wrote: > If you create a Data.Map or Data.Set larger than fits in physical memory, > will OS level swapping enable your app to behave reasonably or will things > just die catastrophically as you hit a memory limit? Data.{Set,Map} uses balan

[Haskell-cafe] OS swapping and haskell data structures

2007-07-31 Thread Alex Jacobson
If you create a Data.Map or Data.Set larger than fits in physical memory, will OS level swapping enable your app to behave reasonably or will things just die catastrophically as you hit a memory limit? -Alex- ___ Haskell-Cafe mailing list Haskell-Caf