42 .nc_rpc_delay_min = 1000,
43 .nc_rpc_delay_max = 5000,
44 .nc_frag_delay_min = 100,
45 .nc_frag_delay_max = 1000,
46 .nc_rate_min = 750000000,
47 .nc_rate_max = 1000000000,
56 .ns_pre_bulk_max = 1000
62 .cc_total = 100*1024*1024,
63 .cc_count = 1024*1024,
64 .cc_opt_count = 1024*1024,
67 .cc_delay_max = 1000000,
69 .cc_dirty_max = 32*1024*1024,
79 .cc_cylinders = 153352,
81 .cc_cylinder_skew = 76,
82 .cc_sectors_min = 1220,
83 .cc_sectors_max = 1800,
84 .cc_cyl_in_zone = 48080,
86 .cc_seek_avg = 8500000,
87 .cc_seek_track_to_track = 800000,
88 .cc_seek_full_stroke = 16000000,
89 .cc_write_settle = 500000,
90 .cc_head_switch = 500000,
91 .cc_command_latency = 0,
118 int main(
int argc,
char **argv)
121 unsigned clients = atoi(argv[1]);
122 unsigned threads = atoi(argv[2]);
123 unsigned long long filesize;
130 client.cc_nr_threads = threads;
138 1000.0 * filesize *
clients /
s.ss_bolt);
M0_INTERNAL void sim_init(struct sim *state)
static struct chs_conf ST31000640SS
M0_INTERNAL void chs_dev_fini(struct chs_dev *dev)
M0_INTERNAL void chs_conf_fini(struct chs_conf *conf)
M0_INTERNAL void elevator_init(struct elevator *el, struct storage_dev *dev)
M0_INTERNAL void sim_log(struct sim *s, enum sim_log_level level, const char *format,...)
M0_INTERNAL void client_init(struct sim *s, struct client_conf *conf)
static struct net_conf net
int m0_init(struct m0 *instance)
M0_INTERNAL void sim_run(struct sim *state)
M0_INTERNAL void chs_conf_init(struct chs_conf *conf)
int main(int argc, char **argv)
Test server for m0console.
M0_INTERNAL void net_srv_init(struct sim *s, struct net_srv *srv)
M0_INTERNAL void net_init(struct net_conf *net)
struct storage_conf cc_storage
M0_INTERNAL void elevator_fini(struct elevator *el)
M0_INTERNAL void cnt_dump_all(void)
static void workload_fini(void)
M0_INTERNAL void chs_dev_init(struct chs_dev *dev, struct sim *sim, struct chs_conf *conf)
unsigned long long ns_file_size
static void workload_init(struct sim *s, int argc, char **argv)
static char clients[NTCS_NODES_MAX *NTCS_NODE_ADDR_MAX]
struct storage_dev cd_storage
M0_INTERNAL void client_fini(struct client_conf *conf)
M0_INTERNAL void sim_fini(struct sim *state)
M0_INTERNAL void net_srv_fini(struct net_srv *srv)
static struct m0_addb2_source * s
static struct net_srv srv
M0_INTERNAL void net_fini(struct net_conf *net)