-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Line 166 in c1d9774
| const size_t bufSize = 4096; // 4096 is blocksize in bytes (blockdev --getbsz /dev/sda1) |
Pre 4K disky je optimalna velkost 4096, ale preverit efektivnost (rychlost) pre SSD disky, kde je velksot 512 bytes. V pripade potreby v konstruktore check-nut velkost blocksize.
131072 bytes =128 kB !!! best size !!! https://eklitzke.org/efficient-file-copying-on-linux, ale naj je spustit rychly benchmarks a najst optimalnu hodnotu bs
man blockdev
--getbsz
Print blocksize in bytes. This size does not describe device topology. It's size used internally by kernel and it maybe modified (for example) by filesystem driver on mount.
--getpbsz
Get physical block (sector) size.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels