gecko-dev/mstone/src
dac%x.cx a4a3940c86 Send domain with HELO 2000-04-27 21:33:14 +00:00
..
Makefile Add proper reconnect concept 2000-04-06 03:21:53 +00:00
README Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
bench.c Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
bench.h Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
client.c Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
errexit.c Add proper reconnect concept 2000-04-06 03:21:53 +00:00
http.c Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
imap4.c Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
mailclient.dsp Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
mailclient.mak Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
main.c Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
parse.c Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
pish.h Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
pop3.c Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
smtp.c Send domain with HELO 2000-04-27 21:33:14 +00:00
sysdep.c Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
sysdep.h Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
timefunc.c Initial open source checkin of the mstone performance tool 2000-03-21 23:43:31 +00:00
wmap.c Add proper reconnect concept 2000-04-06 03:21:53 +00:00

README

To build on a new OS, simply edit the Makefile to reflect your
compilers and options.

Everything currently builds on Linux-2.1/2.2, Solaris-2.5.1/2.6, HPUX-11
IRIX-6.5, AIX-4.2, OSF1-4.0 and NT-4.  Operating systems without
POSIX threads (or NT threads) will be limited.

NT uses ../autobuild.bat, *.dsw, and *.mak.

Perl is imported from a common build area.

Notes on protocol plug in API:


Fundamental data structures:

event_timer_t
	Holds the critical results information.  This gets added up
over all the block in all the threads periodically during the test.

cmd_stats_t
	This holds all the dynamic information including event timers,
and state for sequencing the command block (like next login).

mail_command_t
	This hold all the read only information about a command block.

thread_context_t
	All the information about each thread.  There is one thread
per server connection.

range_t
	Integer range based on a starting number and a length.  This
can be sequentially or randomly returned.  This needs to be adjusted
for each command thread.

protocol_t
	This defines the callbacks and shared information for each protocol.



Adding a new protocol:
	Create all the handler functions.  Look at smtp.c for an example

	Add the entry to g_protocols in main.c

	Add it to the makefiles


Design issues:
	Timing accuracy

	Scalability (current limit is 26000 clients/machine)

	Extendibility

	Memory use (limits scalability)

	Result data efficiency