Skip to content

Commit a247b63

Browse files
author
Saied Kazemi
authored
Increase scamper's number of packets per second to send (#106)
We have recently noticed that the majority of traceroutes have been timing out: #102. This commit sets PPS to send to its allowed maximum value of 10,000 as suggested by Matthew Luckie.
1 parent 4c368d4 commit a247b63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracer/scamper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func (d *ScamperDaemon) MustStart(ctx context.Context) {
150150
logFatal("The control socket file must not already exist: ", err)
151151
}
152152
defer os.Remove(d.ControlSocket)
153-
command := exec.Command(d.Binary, "-U", d.ControlSocket)
153+
command := exec.Command(d.Binary, "-U", d.ControlSocket, "-p", "10000")
154154
// Start is non-blocking.
155155
rtx.Must(command.Start(), "Could not start daemon")
156156

0 commit comments

Comments
 (0)