Commit 9f6dbe97 authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti
Browse files

Minor modifications + renaming on the stress test tool

parent 269e1402
......@@ -2,5 +2,5 @@ Cluster:
castordev/client
Example:
STAGER_TRACE=0 rfio --basedir /castor/cern.ch/user/s/sponcec3/tape/stress2114 --stager castorcert5-lb --svcclass largedisk2 --nbthreads 20 --nbreads 1 --delay 0 --nbiterations 0
STAGER_TRACE=0 c2stress --basedir /castor/cern.ch/user/s/sponcec3/tape/stress2114 --stager castorcert5-lb --svcclass largedisk2 --nbthreads 20 --nbreads 1 --delay 0 --nbiterations 0
/******************************************************************************
* rfio.cpp
* c2stress.cpp
*
* This file is part of the Castor project.
* See http://castor.web.cern.ch/castor
......@@ -17,10 +17,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* g++ -g -pthread -Wall -Werror -D_LARGEFILE64_SOURCE -fPIC -I $CASTOR_ROOT -I $CASTOR_ROOT/h -I /usr/include/xrootd/ /usr/lib64/libXrdCl.so /usr/lib64/libshift.so.2.1 -o rfio rfio.cpp
* g++ -g -pthread -Wall -Werror -D_LARGEFILE64_SOURCE -fPIC -I $CASTOR_ROOT -I $CASTOR_ROOT/h -I /usr/include/xrootd/ /usr/lib64/libXrdCl.so /usr/lib64/libcastorclient.so.2.1 /usr/lib64/libcastorns.so.2.1 /usr/lib64/libcastorrfio.so.2.1 -o c2stress c2stress.cpp
*
* Not the best code in the world but it works!
* - Still need to add race condition test, same file random operations
*
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
......@@ -95,12 +94,12 @@
#define OPTION_XROOTD 15
// Definitions (Maximum)
#define MAX_NBTHREADS 50
#define MAX_NBTHREADS 100
#define MAX_RFIO_BUFFERSIZE 512 * 1024
#define MAX_NBREADS 10
#define MAX_NBREADS 30
// Definitions (Minimum)
#define MIN_FILESIZE 2048
#define MIN_FILESIZE 1024
// Global Variables
static std::string baseDirectory = "";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment