gecko-dev/mstone/src
timeless%mozdev.org 1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
..
bench.c
bench.h Bug 106386 Correct misspellings in source code 2005-11-25 08:05:54 +00:00
client.c Bug 106386 Correct misspellings in source code 2005-11-25 08:05:54 +00:00
errexit.c Bug 106386 Correct misspellings in source code 2005-11-25 08:05:54 +00:00
http-util.c Bug 106386 Correct misspellings in source code 2006-02-23 09:36:43 +00:00
http-util.h
http.c Bug 106386 Correct misspellings in source code 2005-11-25 08:05:54 +00:00
imap4.c Bug 106386 Correct misspellings in source code 2005-11-25 08:05:54 +00:00
mailclient.dsp
mailclient.mak
main.c Bug 106386 Correct misspellings in source code 2005-11-25 08:05:54 +00:00
Makefile
parse.c
pish.h
pop3.c Bug 106386 Correct misspellings in source code 2005-11-25 08:05:54 +00:00
README
smtp.c Bug 106386 Correct misspellings in source code 2005-11-25 08:05:54 +00:00
sysdep.c Bug 106386 Correct misspellings in source code 2005-11-25 08:05:54 +00:00
sysdep.h
timefunc.c
wmap.c Bug 106386 Correct misspellings in source code 2005-11-25 08:05:54 +00:00

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