mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
increase buffer size to significantly increase performance...
see: https://docs.freebsd.org/cgi/mid.cgi?20150513080342.GE37063@funkthat.com for benchmarks...
This commit is contained in:
parent
2491302a04
commit
7b7254e71f
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ MDXFile(const char *filename, char *buf)
|
|||
char *
|
||||
MDXFileChunk(const char *filename, char *buf, off_t ofs, off_t len)
|
||||
{
|
||||
unsigned char buffer[BUFSIZ];
|
||||
unsigned char buffer[16*1024];
|
||||
MDX_CTX ctx;
|
||||
struct stat stbuf;
|
||||
int f, i, e;
|
||||
|
|
|
|||
Loading…
Reference in a new issue