Skip to content

param.h

#ifdef LAB_FS
#define NPROC        10
#else
#define NPROC        64
#endif
#define NCPU          8
#define NOFILE       16
#define NFILE       100
#define NINODE       50
#define NDEV         10
#define ROOTDEV       1
#define MAXARG       32
#define MAXOPBLOCKS  10
#define LOGSIZE      (MAXOPBLOCKS*3)
#define NBUF         (MAXOPBLOCKS*3)
#ifdef LAB_FS
#define FSSIZE       200000
#else
#ifdef LAB_LOCK
#define FSSIZE       10000
#else
#define FSSIZE       2000
#endif
#endif
#define MAXPATH      128

#ifdef LAB_UTIL
#define USERSTACK    2
#else
#define USERSTACK    1
#endif