mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2014-09-22, 15:22   #34
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

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.
jasonp is offline   Reply With Quote
Old 2014-09-22, 16:24   #35
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

2A0116 Posts
Default

Quote:
Originally Posted by skan View Post
I'm also interested in finding a good database for scientific computing.
I'm not competent to comment on your earlier questions. I can provide some input on this one though.

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
xilman is offline   Reply With Quote
Old 2018-05-07, 15:49   #36
debrouxl
 
debrouxl's Avatar
 
Sep 2009

977 Posts
Default

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
debrouxl is offline   Reply With Quote
Old 2018-05-07, 19:55   #37
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Sorry, but what I said about running out of time four years ago hasn't changed. I wish it was otherwise.
jasonp is offline   Reply With Quote
Reply

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

All times are UTC. The time now is 01:09.


Sat Jul 17 01:09:02 UTC 2021 up 49 days, 22:56, 1 user, load averages: 1.33, 1.66, 1.55

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.