o Log messages should show both original and new size of the data. The speed
should be probably calculated from the former.
o Automatically tune ASORT_MIN_RADIX, ASORT_MIN_SHIFT and especially ASORT_RADIX_BITS.
+o Buffer sizing in shep-export.
Improvements:
o Switching between direct and normal I/O. Should use normal I/O if the input is small enough.
#include "lib/clists.h"
/* Configuration, some of the variables are used by the old sorter, too. */
-extern uns sorter_trace, sorter_presort_bufsize, sorter_stream_bufsize;
+extern uns sorter_trace, sorter_stream_bufsize;
extern uns sorter_debug, sorter_min_radix_bits, sorter_max_radix_bits;
extern uns sorter_min_multiway_bits, sorter_max_multiway_bits;
extern uns sorter_threads, sorter_thread_threshold;
#include "lib/sorter/common.h"
uns sorter_trace;
-uns sorter_presort_bufsize = 65536; /* FIXME: kill after removing the old sorter */
uns sorter_stream_bufsize = 65536;
u64 sorter_bufsize = 65536;
uns sorter_debug;
static struct cf_section sorter_config = {
CF_ITEMS {
CF_UNS("Trace", &sorter_trace),
- CF_UNS("PresortBuffer", &sorter_presort_bufsize),
CF_UNS("StreamBuffer", &sorter_stream_bufsize),
CF_SECTION("FileAccess", &sorter_fb_params, &fbpar_cf),
CF_U64("SortBuffer", &sorter_bufsize),