![]() |
|
|
#34 |
|
Tribal Bullet
Oct 2004
3,541 Posts |
This branch of the code was an experiment for dealing with NFS filtering in an out-of-core fashion, where the dataset was too large to fit in memory all at once, until most of it had been deleted. All of the jobs we can currently handle today will fit in memory at all points, given a nice enough machine. I've seen Msieve run on machines with 512GB of memory! But eventually we will need to think about factorizations that are so large that the only way to do NFS filtering will be to either throw a cluster at it, or work out-of-core.
Berkeley DB was a convenient abstraction for this: no need for deciding file formats, parsing stuff on disk, on-the-fly compression and caching, etc. I didn't use a database because I needed the flexibility of SQL, only because it was convenient and let me focus on e.g. out-of-core sorting of the dataset using several criteria. Other DB's are indeed faster, but this is not a typical database task. Like everything else in Msieve I've run out of time to play with the idea. |
|
|
|
|
|
#35 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
2A0116 Posts |
Quote:
If by "scientific computing" you include bioinformatics, PostgreSQL has some big fans. It underlies FlyBase for instance. I learned about it when working for FlyBase and have subsequently used it to store factoring data for the homogeneous Cullen and Woodall tables. Paul |
|
|
|
|
|
|
#36 |
|
Sep 2009
977 Posts |
Putting an old topic back on top
![]() I recently learned about LMDB, whose API ( http://www.lmdb.tech/doc/ ) is inspired by that of Berkeley DB, and which boasts fantastic performance. It supports integer keys. I had a small look at the code of the msieve-db branch, but I'm not qualified about the filtering algorithm... Last fiddled with by debrouxl on 2018-05-07 at 15:50 |
|
|
|
|
|
#37 |
|
Tribal Bullet
Oct 2004
3,541 Posts |
Sorry, but what I said about running out of time four years ago hasn't changed. I wish it was otherwise.
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NFS filtering error... | Stargate38 | YAFU | 4 | 2016-04-20 16:53 |
| The big filtering bug strikes again (I think) | Dubslow | Msieve | 20 | 2016-02-05 14:00 |
| Filtering | Sleepy | Msieve | 25 | 2011-08-04 15:05 |
| Filtering | R.D. Silverman | Cunningham Tables | 14 | 2010-08-05 08:30 |
| Filtering Phenomenon | R.D. Silverman | NFSNET Discussion | 2 | 2005-09-16 04:00 |