forked from localhorst/reHDD
optimal chunk size
This commit is contained in:
@ -17,9 +17,9 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#define CHUNK_SIZE 1024*1024*2 //amount of bytes that are overwritten at once --> 2MB
|
||||
//#define CHUNK_SIZE 1024U*4U //amount of bytes that are overwritten at once
|
||||
#define TFNG_DATA_SIZE 65536U //amount of bytes used by tfng
|
||||
|
||||
#define CHUNK_SIZE 1024*1024*32 //amount of bytes that are overwritten at once --> 32MB
|
||||
#define TFNG_DATA_SIZE CHUNK_SIZE //amount of bytes used by tfng
|
||||
|
||||
//#define DEMO_DRIVE_SIZE 1024*1024*256L // 256MB
|
||||
//#define DEMO_DRIVE_SIZE 1024*1024*1024L // 1GB
|
||||
|
Reference in New Issue
Block a user