12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$packmime no-pm-persistent-rspszBy default, PackMime-HTTP uses an algorithm (see PackMimeHTTPPersistRspSizeR<strong>and</strong>omVariable::value()in packmime_ranvar.h for details) for setting the respo<strong>ns</strong>e sizes in a persistent connection. This option tur<strong>ns</strong> th<strong>at</strong> behavioroff <strong>and</strong> samples a new respo<strong>ns</strong>e size from the respo<strong>ns</strong>e size distribution for each respo<strong>ns</strong>e in a persistent connection.$packmime set-prob_persistent Set the probability th<strong>at</strong> the connection is persistent$packmime set-num_pages Set the number of pages per connection$packmime set-prob_single_obj Set the probability th<strong>at</strong> the page contai<strong>ns</strong> a single object$packmime set-objs_per_page Set the number of objects per page$packmime set-time_btwn_pages Set the time between page requests (i.e., think time)$packmime set-time_btwn_objs Set the time between object requestsOutput-Specific Comm<strong>and</strong>s$packmime active-connectio<strong>ns</strong>Output the current number of active HTTP connectio<strong>ns</strong> to st<strong>and</strong>ard error$packmime total-connectio<strong>ns</strong>Output the total number of completed HTTP connectio<strong>ns</strong> to st<strong>and</strong>ard error$packmime set-warmup Sets wh<strong>at</strong> time output should start. Only used with set outfile.$packmime set-outfile Output the following fields (one line per HTTP request-repo<strong>ns</strong>e pair) to filename:• time HTTP respo<strong>ns</strong>e completed• HTTP request size (bytes)• HTTP respo<strong>ns</strong>e size (bytes)• HTTP respo<strong>ns</strong>e time (ms) – time between client sending HTTP request <strong>and</strong> client receiving complete HTTP respo<strong>ns</strong>e• source node <strong>and</strong> port identifier• number of active connectio<strong>ns</strong> <strong>at</strong> the time this HTTP request-respo<strong>ns</strong>e pair completed$packmime set-filesz-outfile Right after sending a respo<strong>ns</strong>e, output the following fields (one line per HTTP request-repo<strong>ns</strong>e pair) to filename:• time HTTP respo<strong>ns</strong>e sent• HTTP request size (bytes)369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!