Invoked as: ./userver-send -m 1 -c 1500 -f 3100 -C --cache-table-print --cache-table-size=50 --cache-max-bytes=10000000 --cache-max-load-factor=1.0 -D 0x0 -K 0x0 Server identification: userver v0.2 process_args: maxconns = 1500 rlim.rlim_cur = 64000 rlim.rlim_max = 64000 process_args: maxconns now = 1500 Using max_fds = 3100 long option index = 64 name = cache-table-print flag = 0x80c6614 long option value = 1 -D option - not enabled ignoring option Kernel debug mask being set to 0x0 Send kernel debug mask is now = 0x0 ./userver-send: 1 processes, up to 1500 concurrent connections/process. Compiled without debugging initCache: tableSize = 50 not suitable for hash function initCache: changed tableSize now = 59 initCache: total tableSize = 59 initCache: allocated 13452 bytes for table initCache: allocated 118 bytes for index table INFO_SIZE entries = 3200 size = 4019200 -------------------------------------------------------- options.free_fd_thold = 0 options.get_connections_on_close = 0 options.do_multiaccept = 1 options.multiaccept_max = 1 options.get_connections = 0 options.conn_on = 0 options.conn_off = 0 options.call_readable_from_new_conn = 0 options.loop_on_readable = 0 options.call_writable_from_readable = 0 options.get_connections_in_server_loop = 0 options.suspend_on_idle = 0 options.caching_on = 1 options.process_sds_order = 1 options.delay = 0 options.listenq = 128 options.read_sock_buf_size = -1 options.write_sock_buf_size = -1 options.read_sock_buf_lowat = -1 options.write_sock_buf_lowat = -1 options.use_max_open_sd = 0 options.count_sigpipes = 0 options.extra_freq = 2147483647 options.dont_intr_select = 0 options.close_with_reset = 0 options.accepts_only = 0 options.port = 6800 options.use_memcpy = 0 options.interactive = 0 options.sigio_cntl = 0 options.send_events = 0 options.select_timeout = 15 options.send_loop = 0 options.use_poll = 0 options.asynch_mode = 0 options.send_io_events = 0 options.auto_accept = 0 options.send_kdebug = 0 options.send_block_for_events = 0 options.ecb_threshold_low = -2 options.ecb_threshold_high = -1 options.ecb_size = -1 options.kinfo = 0 options.noaccepts = 0 options.close_after_sock_init = 0 options.close_after_read = 0 options.close_after_parse = 0 options.send_polls_for_accepts = 0 options.cache_table_size = 50 options.cache_max_bytes = 10000000 options.cache_max_file_size = 1048576 options.cache_max_load_factor = 1 options.cache_table_print = 1 options.cache_for_spec = 0 options.cache_lock_pages = 0 options.use_sendfile = 0 options.send_selects_for_accepts = 0 options.rejection_rate = 0 options.use_getpid = 0 options.trace_summary = 0 options.trace_summary_only = 0 options.use_tcp_cork = 0 options.content_type = 0 -------------------------------------------------------- /proc/version Linux version 2.4.19-send (brecht@saugeen-100bt.uwaterloo.ca) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #12 Wed May 28 20:07:21 EDT 2003 /proc/sys/kernel/rtsig-max 1024 /proc/sys/fs/file-max 65000 /proc/sys/net/ipv4/tcp_max_syn_backlog 1024 /proc/sys/net/ipv4/ip_local_port_range 32768 61000 /proc/sys/net/ipv4/tcp_tw_recycle 0 /proc/sys/net/ipv4/tcp_max_tw_buckets 180000 /proc/sys/net/ipv4/tcp_fin_timeout 60 ----------------------------------------------- Limits: cputime unlimited filesize unlimited datasize unlimited stacksize 8192 kbytes coredumpsize unlimited memoryuse unlimited vmemoryuse unlimited descriptors 64000 memorylocked unlimited maxproc 4095 ----------------------------------------------- main: num_idle = 1500 main: FD_SETSIZE = 32000 Installed sigurg handler Ignoring sigpipes lru_init: lru entries = 3140 lru_init: lru = 0x80cf570 lru_init: lru bytes = 62800 Using port 6800 server_init: SNDBUF = 16384 server_init: RCVBUF = 87380 server_init: SNDLOWAT = 1 server_init: RCVLOWAT = 1 server_sd = 3 Entered server/select loop Caught signal SIGINT SIGHUP SIGCHLD or SIGTERM ------------------------------------------------------------- Accept related stats: accept calls 20000 accept would blocks 0 0.0 % accept eintr 0 0.0 % accept eunknown 0 0.0 % accept enfile 0 0.0 % accept emfile 0 0.0 % accept aborts 0 0.0 % accept successful 20000 100.0 % accept max reached 20000 100.0 % accept ready but no idle 0 accept num_conns and avg 20000 1.0 (avg) calls to do_new_conn 20000 do_new_conn with no idle 0 0.0 % do_new_conn - conns off 0 0.0 % num extra attempts 0 do_new_conns from [0] 0 do_close do_new_conns from [1] 0 server_loop do_new_conns from [2] 0 extras do_new_conns from [3] 20000 do_readable do_new_conns from [4] 0 sigio_handler do_new_conns from [5] 0 server_loop_race do_new_conns from [6] 0 server_send_handler do_new_conns from [7] 0 server_send_loop Max consecutive accepts 1 Num conns accepted 20000 Num conns completed 20000 socket setup 0 socket setup failed 0 ------------------------------------------------------------- Socket reading related stats: read calls 40000 read EAGAIN 0 0.0 % read EAGAIN: on 2nd call 0 0.0 % read EAGAIN retry failed 0 0.0 % read RESET 0 0.0 % read nothing 20000 50.0 % read failed others 0 0.0 % read successful 20000 50.0 % bytes per success read 75.0 good gets 20000 failed parse 0 failed request 0 failed open 0 failed stat 0 requests 20000 ------------------------------------------------------------- Socket writing/replying related stats: writev calls 40000 writev EAGAIN 0 0.0 % writev EPIPE 0 0.0 % writev RESET 0 0.0 % writev failed others 0 0.0 % writev zero bytes 0 0.0 % writev successful 40000 100.0 % bytes per success writev 7482.0 socket send reply failed 0 send agains needed 20000 replies 20000 replies/accepts 1.00 ------------------------------------------------------------- Close related stats: Num idle sockets closed 0 Num sockets close calls 20000 100.0 % Num sockets close failed 0 0.0 % Num sockets not closed 0 0.0 % Close in send related stats: Num close normal 0 0.0 % Num close early fin 0 0.0 % Num close from err 0 0.0 % ------------------------------------------------------------- Select related stats: select calls 100003 select EINTR 0 0.0 % select EAGAIN 0 0.0 % select other errors 0 0.0 % select failed no errors 0 0.0 % select timed out 2 0.0 % select successful 100000 100.0 % max num fds from select 1 total fds from select 100000 avg fds from select 1.0 avg max sd into select 4.0 ------------------------------------------------------------- Cache related stats: CACHE PARAMETERS cache num buckets 59 cache size (bytes) 10000000 cache max file size (bytes) 1048576 cache max load factor 1.00 CACHE STATISTICS cache bytes used 14900 cache buckets used 1 cache current load factor 0.02 cache requests 20000 cache hits 19999 cache file hit rate 100.00 cache bytes requested 298000000 cache bytes hit in cache 297985100 cache byte hit rate 100.00 cache collisions 0 cache collisions per lookup 0 cache replacements 0 cache probes 19999 cache max probes for a lookup 1 cache probes per lookup 1.0 ------------------------------------------------------------- Netstats: AttemptFails = 0 InSegs = 300763 OutSegs = 280052 RetransSegs = 0 InErrs = 0 ------------------------------------------------------------- Rusage : usage info ru_utime user time = 4.09 ru_stime system time = 6.72 ru_maxrss resident set size (KB) = 0 ru_ixrss shared text seg (KB sec) = 0 ru_idrss data seg (KB sec) = 0 ru_isrss stack (KB sec) = 0 ru_minflt soft/reclaimed faults = 28 ru_majflt hard/IO faults = 16 ru_nswap process swapped out = 0 ru_inblock fs input (non cached) = 0 ru_oublock fs output (non cached) = 0 ru_msgsnd IPC msg sent = 0 ru_msgrcv IPC msg received = 0 ru_nsignals signals = 0 ru_nvcsw voluntary cs = 0 ru_nivcsw involuntary cs = 0 ------------------------------------------------------------- Connections on and off stats: num new conns on 0 num new conns off 0 ------------------------------------------------------------- Misc stats: Total bytes malloced 4111570 max sd value 4 num max open 1 avg num open 1.0 ------------------------------------------------------------- Current values of some variables: max_sd 4 num_idle 1500 maxconns-num_idle = open 0 max_opensd 0 ------------------------------------------------------------- sigio_blocked = 0 num_block_sigio = 0 num_unblock_sigio = 0 new_connections_on = 1 intr_depth = 0 ------------------------------------------------------------- Index: Bucket Filename Ref Used Used% BufLen next prev hashto 0: -1 Empty 1: -1 Empty 2: -1 Empty 3: -1 Empty 4: -1 Empty 5: -1 Empty 6: -1 Empty 7: 58 docs/14900B.txt 1 20000 1.000% 14900 -1 -1 7 8: -1 Empty 9: -1 Empty 10: -1 Empty 11: -1 Empty 12: -1 Empty 13: -1 Empty 14: -1 Empty 15: -1 Empty 16: -1 Empty 17: -1 Empty 18: -1 Empty 19: -1 Empty 20: -1 Empty 21: -1 Empty 22: -1 Empty 23: -1 Empty 24: -1 Empty 25: -1 Empty 26: -1 Empty 27: -1 Empty 28: -1 Empty 29: -1 Empty 30: -1 Empty 31: -1 Empty 32: -1 Empty 33: -1 Empty 34: -1 Empty 35: -1 Empty 36: -1 Empty 37: -1 Empty 38: -1 Empty 39: -1 Empty 40: -1 Empty 41: -1 Empty 42: -1 Empty 43: -1 Empty 44: -1 Empty 45: -1 Empty 46: -1 Empty 47: -1 Empty 48: -1 Empty 49: -1 Empty 50: -1 Empty 51: -1 Empty 52: -1 Empty 53: -1 Empty 54: -1 Empty 55: -1 Empty 56: -1 Empty 57: -1 Empty 58: -1 Empty Number of bytes used: 14900 Number of buckets used: 1 Used Entries = 1 LRU List Bucket Filename Ref Used Used% BufLen next prev hashto 58 docs/14900B.txt 1 20000 1.000% 14900 -1 -1 7 Free List Bucket Filename Ref Used Used% BufLen next prev hashto 57 0 0 0.000% 0 56 -1 0 56 0 0 0.000% 0 55 -1 0 55 0 0 0.000% 0 54 -1 0 54 0 0 0.000% 0 53 -1 0 53 0 0 0.000% 0 52 -1 0 52 0 0 0.000% 0 51 -1 0 51 0 0 0.000% 0 50 -1 0 50 0 0 0.000% 0 49 -1 0 49 0 0 0.000% 0 48 -1 0 48 0 0 0.000% 0 47 -1 0 47 0 0 0.000% 0 46 -1 0 46 0 0 0.000% 0 45 -1 0 45 0 0 0.000% 0 44 -1 0 44 0 0 0.000% 0 43 -1 0 43 0 0 0.000% 0 42 -1 0 42 0 0 0.000% 0 41 -1 0 41 0 0 0.000% 0 40 -1 0 40 0 0 0.000% 0 39 -1 0 39 0 0 0.000% 0 38 -1 0 38 0 0 0.000% 0 37 -1 0 37 0 0 0.000% 0 36 -1 0 36 0 0 0.000% 0 35 -1 0 35 0 0 0.000% 0 34 -1 0 34 0 0 0.000% 0 33 -1 0 33 0 0 0.000% 0 32 -1 0 32 0 0 0.000% 0 31 -1 0 31 0 0 0.000% 0 30 -1 0 30 0 0 0.000% 0 29 -1 0 29 0 0 0.000% 0 28 -1 0 28 0 0 0.000% 0 27 -1 0 27 0 0 0.000% 0 26 -1 0 26 0 0 0.000% 0 25 -1 0 25 0 0 0.000% 0 24 -1 0 24 0 0 0.000% 0 23 -1 0 23 0 0 0.000% 0 22 -1 0 22 0 0 0.000% 0 21 -1 0 21 0 0 0.000% 0 20 -1 0 20 0 0 0.000% 0 19 -1 0 19 0 0 0.000% 0 18 -1 0 18 0 0 0.000% 0 17 -1 0 17 0 0 0.000% 0 16 -1 0 16 0 0 0.000% 0 15 -1 0 15 0 0 0.000% 0 14 -1 0 14 0 0 0.000% 0 13 -1 0 13 0 0 0.000% 0 12 -1 0 12 0 0 0.000% 0 11 -1 0 11 0 0 0.000% 0 10 -1 0 10 0 0 0.000% 0 9 -1 0 9 0 0 0.000% 0 8 -1 0 8 0 0 0.000% 0 7 -1 0 7 0 0 0.000% 0 6 -1 0 6 0 0 0.000% 0 5 -1 0 5 0 0 0.000% 0 4 -1 0 4 0 0 0.000% 0 3 -1 0 3 0 0 0.000% 0 2 -1 0 2 0 0 0.000% 0 1 -1 0 1 0 0 0.000% 0 0 -1 0 0 0 0 0.000% 0 -1 -1 0 Free List Entries = 58 closing server_sd