rusage. Information on resources used
|
Key
|
Unit
|
Value description
|
How to reduce?
|
utime
|
second
|
Pure time, i.e. that used by current process (does not include time used by other tasks)
|
Simplify data manipulation within Parser (improve algorithm, hand some actions over to SQL-server)
|
stime
|
second
|
Time used by system to read your files, directories, and libraries
|
Decrease number and size of files needed for script's work; do not use modules which are not needed to process current document
|
maxrss
|
block
|
Memory used by process
|
Decrease number of loaded useless data.
Find and fix all "select *" by specifying only the fields you will really need. Do not load unnecessary data from SQL-server, filter out as much as you can by means of SQL-server itself. |
|
|
Exact system time. Allows evaluating time used for awaiting response from SQL-, HTTP-, SMTP-servers.
How much time passed since Epoch… |
Simplify SQL queries. If you use MySQL, use EXPLAIN; for Oracle: EXPLAIN PLAN (see your server documentation); for other SQL-servers: see relevant documentation.
|
tv_sec
|
second
|
…whole seconds;
|
|
tv_usec
|
millisecond
(10E-6) |
…milliseconds
passed (millionths of seconds in addition to whole seconds) |
|
Key
|
Unit
|
Value description
|
How to reduce?
|
ReadOperationCount
ReadTransferCount |
items
bytes |
Number of operations on reading from disk and total number of bytes read
|
Decrease number and size of files needed for the process; do not use modules not needed for processing current document.
Use SQL-server rather than files. |
WriteOperationCount
WriteTransferCount |
items
bytes |
Number of operations on writing to disk and total number of bytes written
|
|
OtherOperationCount
OtherTransferCount |
items
bytes |
Number of other operations with disk (apart from read/write) and total number of bytes transferred
|
|
PeakPagefileUsage
QuotaPeakNonPagedPoolUsage QuotaPeakPagedPoolUsage |
bytes
|
Memory-paging file size limit
|
see above comment to maxrss
|
Copyright © 19972021 Art. Lebedev Studio | http://www.artlebedev.com | Last updated: 04.09.2008 |