jeudi 5 février 2015

Unusual amount of wall time in ubuntu14.04.1

I am facing an unusual amount of wall time while trying to run a simple sqlite3 database creation process in ubuntu14.04 as opposed to user and sys times. As a matter of fact the same command when run on macbook air runs instantly. The high amount of wall time also reflects when i try to run more than thousand unit tests on both machine which takes about an hour on ubuntu, completes in a few minutes on mac(on both machines the software is cloned from same repo). The machine configuration is as follows :



  • Ubuntu 14.04 : sony E series : 320gb HDD 5400 rpm , 4gb ram, core i3-2.13 ghz


The time results are :



User time (seconds): 0.92
System time (seconds): 0.14
Percent of CPU this job got: 17%
Elapsed (wall clock) time (m:ss): 0:06.15
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 43036
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 30831
Voluntary context switches: 255
Involuntary context switches: 411
Swaps: 0
File system inputs: 0
File system outputs: 1536
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0


I have also tried to schedule the process with higher priority using 'nice' and 'ionice' with no considerable change.


I am really wondering what could be the reason behind this. My raw disk write speeds are around 130 MB/s calculated using 'dd' functionality, I have tried it on different CPU's that is core i7 and core i5 with almost same results.


Aucun commentaire:

Enregistrer un commentaire