https://gitlab.inria.fr/cado-nfs/cado-nfs
Raw File
Tip revision: b07a74050d73f658537808471a07b1a1050723f0 authored by Lionel Muller on 17 October 2011, 16:44:47 UTC
print cputime only if cadofactor successfull
Tip revision: b07a740
params.c166
###########################################################################
#     Parameter file for Cado-NFS
###########################################################################
# See params/params.c91 for an example which contains some documentation.

# Anything after a # is a comment, until end of line.
# Any empty line is ignored
#
#
# Each parameter should be on an individual line, like
#   param0=42.17
#

###########################################################################
# General parameters
###########################################################################

# Sample parameter file for a 166-digit gnfs input
# Example: cadofactor.pl wdir=... name=... n=...

name=c166
parallel=1           # do we use parallel computation?
delay=300

machines=mach_desc      # file describing available computers for parallel
                        # computation

###########################################################################
# Polynomial selection
###########################################################################

degree=5                # degree of the algebraic polynomial
kjdelay=300             # time between two checks
selectnice=4            # nice level for selection

## Parameters of polyselect
# note: those parameters are just a guess, they might be far from optimal
kjP=200000              # choose lc(g) with two prime factors in [P,2P]
kjmaxnorm=55            # max. lognorm of polynomials (before rootsieve)
kjadmax=6e8             # max value for lc(f)
kjadrange=6e6           # individual tasks
kjkmax=24               # rotation is bounded by 2^kmax
kjincr=210              # forced divisor of lc(f)

###########################################################################
# Sieve
###########################################################################

# (r,a) means rational or algebraic side
# rlim/alim is the bound for sieving
# lpbr/lpba is the (base 2 log of the) large prime bound
# mfbr/mfba is the (base 2 log of the) limit for the cofactor we try to
#                                      split into large primes.
# rlambda/alambda is the early-abort ratio: if after sieving the
#                                      approximate norm is more than
#                                      lambda times lpb, we reject.
rlim=20000000
alim=40000000
lpbr=30
lpba=30
mfbr=60
mfba=90
rlambda=2.1
alambda=3.2

I=14                    # Sieving range in lattice siever
qmin=40000000           # Start of the special-q range
qrange=200000           # The size of an elementary sieving task
checkrange=1000000      # We check if we have enough after each step
                        # of that many relations found.
firstcheck=100000000    # Start filters (dup and purge) only after
                        # 'firstcheck' rels
sievenice=10
sieve_max_threads=2

###########################################################################
# Filtering
###########################################################################

excessratio=1.01        # minimal excess we want before pruning
keeppurge=160           # shrink in purge if excess exceeds keeppurge
keep=160                # excess wanted after merge
maxlevel=20             # maximal merge level
cwmax=100  
rwmax=100  
ratio=1.1  
bwstrat=3               

###########################################################################
# Linear algebra
###########################################################################

bwmt=2x2                # Multithreading level of Block-Wiedemann

###########################################################################
# Characters
###########################################################################

nkermax=30              # maximal size of computed kernel
nchar=50                # number of characters
back to top