par2create should use more memory

Bug #535305 reported by gwern
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
par2cmdline (Ubuntu)
New
Undecided
Unassigned

Bug Description

The man page says:

       The "-m" option controls how much memory par2 uses. It defaults to 16
       MB unless you override it.

It doesn't say why one would want to control it, but a little experimenting shows that this seems to be a space-time tradeoff. (Not too surprising considering the algorithms involved.)

Given that par2create can take a very long time on gigabytes of data, and given that 16MB is *really* small in 2010, when even cheapo netbooks come with 1 or 2GB of RAM, and given that no one in their right mind would be running par2create except on a reasonably powerful machine (so several gigabytes of RAM), it seems to me that the default setting is a tradeoff that made sense a decade or two ago but no longer, and should be drastically increased. 128MB doesn't seem unreasonable to me. (Heck, cellphones like the iPhone come with more RAM than that.)

tags: added: kernel-series-unknown
tags: removed: kernel-series-unknown
Revision history for this message
gwern (gwern0) wrote :

Has this and the man page bug been forwarded to upstream yet?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.