Changeset f258932 for lib/wandio.c


Ignore:
Timestamp:
09/16/11 10:14:11 (10 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
2cf2c2d
Parents:
24ca459
Message:
  • Bumped default number of IO buffers up to a total of 50 MB
  • Added a LIBTRACEIO option to adjust the number of IO buffers
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/wandio.c

    ra8d184f rf258932  
    5656int force_directio_read = 0;
    5757unsigned int use_threads = -1;
     58unsigned int max_buffers = 50;
    5859
    5960uint64_t read_waits = 0;
     
    8384        else if (strncmp(option,"threads=",8) == 0)
    8485                use_threads = atoi(option+8);
     86        else if (strncmp(option,"buffers=",8) == 0)
     87                max_buffers = atoi(option+8);
    8588        else {
    8689                fprintf(stderr,"Unknown libtraceio debug option '%s'\n", option);
Note: See TracChangeset for help on using the changeset viewer.