OpenVZ Forum


Home » General » Support » sys time is longer than real time
icon5.gif  sys time is longer than real time [message #38199] Fri, 27 November 2009 17:38
justasp is currently offline  justasp
Messages: 7
Registered: May 2009
Junior Member
Hello,

I was doing some benchmarking for different ways of handling text and output of time command got me thinking - how systime can be longer than realtime? Am I missing something?
root@php5:~# time ./test_grep.sh

real 0m0.502s
user 0m0.136s
sys 0m0.644s
Then I ran it once again to see maybe there were an error:
root@php5:~# time ./test_grep.sh

real 0m0.479s
user 0m0.134s
sys 0m0.674s

How this is possible? I am using:
root@php5:~# uname -a
Linux php5.dev 2.6.18-20-ovz-686-pae #1 SMP Mon Nov 9 23:06:15 UTC 2009 i686 GNU/Linux

PS: the files I ran can be found in:
http://rntmns.com/2009/11/get-exact-line-from-stdout-file-an d-a-small-benchmark/

[Updated on: Fri, 27 November 2009 17:39]

Report message to a moderator

 
Read Message icon5.gif
Previous Topic: Can not suspend VE: Device or resource busy
Next Topic: Clustered OpenVZ
Goto Forum:
  


Current Time: Tue Nov 05 22:31:39 GMT 2024

Total time taken to generate the page: 0.05632 seconds