1
0
mirror of https://github.com/m00natic/vlfi.git synced 2024-10-05 18:30:51 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
Andrey Kotlarski
a7be7136be Set vlf-tune-max with proper value in case RAM size is wrongly
determined.
2014-11-18 12:02:24 +02:00
Andrey Kotlarski
f43ada1173 Fix byte compilation warnings. 2014-10-16 02:56:34 +03:00
Andrey Kotlarski
5dd9e2cd02 Adjust address parts of hexlified buffer according to vlf-start-pos. 2014-10-16 02:56:34 +03:00
Andrey Kotlarski
305d8022c4 Use shared profiling info for encode, write and hexl operations. 2014-10-08 19:33:59 +03:00
Andrey Kotlarski
d579b7b3e2 Workaround local maximum in batch tune. 2014-10-07 14:18:34 +03:00
Andrey Kotlarski
7b9befe81a - don't load unnecessary data at the end of search or occur
- don't flood profile vector with approximations in linear search
2014-10-07 01:33:21 +03:00
Andrey Kotlarski
61599a007f Change linear tune to search only known measures and use it to
initialize occur indexing.  Make default tune step smaller.
2014-10-02 13:49:42 +03:00
Andrey Kotlarski
3cfa9b1935 Refactor vlf-query-replace and don't adjust batch size if only
statistics are enabled.
2014-09-26 15:22:25 +03:00
Andrey Kotlarski
c3a308c835 Optimize save performance over the temp file if such is used. Add
customization option whether to use temp file.
2014-09-26 14:00:01 +03:00
Andrey Kotlarski
842569ae07 Add ability to use temporary file when adjusting content on save. 2014-09-26 01:56:12 +03:00
Andrey Kotlarski
023ee704e7 Declare hexl functions to please byte compiler. 2014-09-25 17:53:21 +03:00
Andrey Kotlarski
b9187918f7 Improve vlf performance with hexl-mode. Align batches to hexl-bits
width.
2014-09-25 01:23:08 +03:00
Andrey Kotlarski
d9cc6fb65e Fix vlf-tune-optimal-load in case best value prunes slower times leaving
all-less flag on.
2014-09-08 14:32:02 +03:00
Andrey Kotlarski
199209fe15 Fix vlf-tune-optimal-load with no optional arguments supplied. 2014-09-08 12:36:35 +03:00
Andrey Kotlarski
06b4f856ac Respect disabled tune settings and move custom options. 2014-09-08 02:21:09 +03:00
Andrey Kotlarski
9b6657bcc5 Replace usage of conservative tune in single batch operations with load
tuning.
2014-09-07 22:10:56 +03:00
Andrey Kotlarski
ca564988e0 Change vlf-tune-get-optimal to optimize on total time of primitive
operations, also fix hexl timing functions not to book in cases where
hexl is already (not) active.
2014-09-07 18:05:13 +03:00
Andrey Kotlarski
d526ea8ef8 Apply and restore batch size in more cases. 2014-09-07 16:25:36 +03:00
Andrey Kotlarski
9271f68c05 Add function to linearly search best batch size according to existing
measurements and offer it when interactively changing batch size.
2014-09-07 00:08:32 +03:00
Andrey Kotlarski
11c7af4b04 Change handling of measurement values to support approximations. 2014-09-07 00:02:14 +03:00
Andrey Kotlarski
5651ee3d61 Rename vlf-tune-optimal to vlf-tune-batch. 2014-09-06 23:59:32 +03:00
Andrey Kotlarski
f3212ec9a6 Fix measure approximation and allow tuning to just over half file
batch.
2014-09-05 19:11:48 +03:00
Andrey Kotlarski
48a014f3bc Fix write measuring and endless loop in nearby approximation. 2014-09-05 14:44:24 +03:00
Andrey Kotlarski
facdb9f6bc Fix binary tune base case and add approximation after access to
previously queried measure that is still missing.
2014-09-05 13:52:46 +03:00
Andrey Kotlarski
e18a05b7cb Add linear search for tuning and prefer smaller batches. 2014-09-05 02:49:55 +03:00
Andrey Kotlarski
d85f3d43fc Fix access to uninitialized measurements when tuning. 2014-09-04 15:43:37 +03:00
Andrey Kotlarski
d67825c4cd Move back to using average speed when measuring and tuning. Be more
precise when choosing index for measurement.
2014-09-04 15:25:44 +03:00
Andrey Kotlarski
5379943cd7 Save times instead of speeds, compare on cumulative speed when tuning. 2014-09-04 03:33:05 +03:00
Andrey Kotlarski
fb0503064d Add basic tune strategies. 2014-09-03 02:35:20 +03:00
Andrey Kotlarski
32ff2cb067 Add bookkeeping module. 2014-08-31 02:10:28 +03:00