[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Descriptors do make a difference 8-O
From: |
Christof Petig |
Subject: |
[Monotone-devel] Descriptors do make a difference 8-O |
Date: |
Wed, 27 Apr 2005 18:35:37 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050404) |
See yourself: (full log at the bottom)
with:
User time (seconds): 165.31
System time (seconds): 3.89
Percent of CPU this job got: 85%
Elapsed (wall clock) time (h:mm:ss or m:ss): 3:18.74
Major (requiring I/O) page faults: 137
Minor (reclaiming a frame) page faults: 530354
without:
User time (seconds): 165.80
System time (seconds): 4.07
Percent of CPU this job got: 75%
Elapsed (wall clock) time (h:mm:ss or m:ss): 3:46.33
Major (requiring I/O) page faults: 2008
Minor (reclaiming a frame) page faults: 566454
So the difference is mostly not in processing time but in memory usage.
And descriptors are the prerequisite to using BLOBs (second stage).
All tests pass with the current candidate
463b4f748c4ab4ee9b3a8f1a37ccab1ea84e63cc.
I have a question though:
Is
func((some_string+"something").c_str())
guaranteed to work with every compiler. If I read the standard correctly
it should. Do you consider using a variable instead of a temporary
better style?
If you feel confident about this revision (I did not check _every_ line
of the merge ...) I propose to put it into mainline (so that the trees
do not diverge again and future BLOB patches are much less intrusive).
Christof
PS: Nathaniel: How would you tag a column to contain BLOBs in a way that
makes schema migration possible?
-----------------------------------------------------------------
monotone.sqlite3$ /usr/bin/time -v ./testsuite 177
## -------------------------------------------- ##
## monotone 0.18 test suite: integration tests. ##
## -------------------------------------------- ##
177: netsync largish file ok
## ------------- ##
## Test results. ##
## ------------- ##
1 test was successful.
Command being timed: "./testsuite 177"
User time (seconds): 165.31
System time (seconds): 3.89
Percent of CPU this job got: 85%
Elapsed (wall clock) time (h:mm:ss or m:ss): 3:18.74
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): 0
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 137
Minor (reclaiming a frame) page faults: 530354
Voluntary context switches: 5745
Involuntary context switches: 24071
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
monotone$ /usr/bin/time -v ./testsuite 177
## -------------------------------------------- ##
## monotone 0.18 test suite: integration tests. ##
## -------------------------------------------- ##
177: netsync largish file ok
## ------------- ##
## Test results. ##
## ------------- ##
1 test was successful.
Command being timed: "./testsuite 177"
User time (seconds): 165.80
System time (seconds): 4.07
Percent of CPU this job got: 75%
Elapsed (wall clock) time (h:mm:ss or m:ss): 3:46.33
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): 0
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 2008
Minor (reclaiming a frame) page faults: 566454
Voluntary context switches: 8330
Involuntary context switches: 24386
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
signature.asc
Description: OpenPGP digital signature
- [Monotone-devel] Descriptors do make a difference 8-O,
Christof Petig <=