multithreading.txt 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Multithreading
  2. ==============
  3. multithreading with chunker code that releases the gil
  4. ------------------------------------------------------
  5. Duration: 1 minutes 28.78 seconds
  6. Original size Compressed size Deduplicated size
  7. This archive: 4.01 GB 3.85 GB 3.60 GB
  8. Unique chunks Total chunks
  9. Chunk index: 1597 1724
  10. ------------------------------------------------------------------------------
  11. Command being timed: "borg create --compression 6 --chunker-params 18,23,21,4095 --stats /extra/borg/mt::1 /extra/w10.iso"
  12. User time (seconds): 286.84
  13. System time (seconds): 11.84
  14. Percent of CPU this job got: 335%
  15. Elapsed (wall clock) time (h:mm:ss or m:ss): 1:29.11
  16. Maximum resident set size (kbytes): 132896
  17. Average resident set size (kbytes): 0
  18. Major (requiring I/O) page faults: 197
  19. Minor (reclaiming a frame) page faults: 2617391
  20. Voluntary context switches: 57339
  21. Involuntary context switches: 99151
  22. Swaps: 0
  23. File system inputs: 8077456
  24. File system outputs: 7043200
  25. Socket messages sent: 0
  26. Socket messages received: 0
  27. Signals delivered: 0
  28. Page size (bytes): 4096
  29. Exit status: 0
  30. multithreaded with gil-holding chunker
  31. --------------------------------------
  32. Duration: 1 minutes 31.72 seconds
  33. Original size Compressed size Deduplicated size
  34. This archive: 4.01 GB 3.85 GB 3.60 GB
  35. Unique chunks Total chunks
  36. Chunk index: 1597 1724
  37. ------------------------------------------------------------------------------
  38. Command being timed: "borg create --compression 6 --chunker-params 18,23,21,4095 --stats /extra/borg/mt::1 /extra/w10.iso"
  39. User time (seconds): 283.38
  40. System time (seconds): 11.97
  41. Percent of CPU this job got: 320%
  42. Elapsed (wall clock) time (h:mm:ss or m:ss): 1:32.06
  43. Maximum resident set size (kbytes): 123640
  44. Average resident set size (kbytes): 0
  45. Major (requiring I/O) page faults: 198
  46. Minor (reclaiming a frame) page faults: 2586472
  47. Voluntary context switches: 69560
  48. Involuntary context switches: 69897
  49. Swaps: 0
  50. File system inputs: 8083136
  51. File system outputs: 7051768
  52. Socket messages sent: 0
  53. Socket messages received: 0
  54. Signals delivered: 0
  55. Page size (bytes): 4096
  56. Exit status: 0
  57. no multithreading (code from master branch)
  58. -------------------------------------------
  59. Duration: 3 minutes 15.83 seconds
  60. Original size Compressed size Deduplicated size
  61. This archive: 4.01 GB 3.85 GB 3.60 GB
  62. Unique chunks Total chunks
  63. Chunk index: 1597 1724
  64. ------------------------------------------------------------------------------
  65. Command being timed: "borg create --compression 6 --chunker-params 18,23,21,4095 --stats /extra/borg/mt::1 /extra/w10.iso"
  66. User time (seconds): 163.02
  67. System time (seconds): 5.00
  68. Percent of CPU this job got: 85%
  69. Elapsed (wall clock) time (h:mm:ss or m:ss): 3:16.11
  70. Maximum resident set size (kbytes): 48984
  71. Average resident set size (kbytes): 0
  72. Major (requiring I/O) page faults: 136
  73. Minor (reclaiming a frame) page faults: 154179
  74. Voluntary context switches: 39641
  75. Involuntary context switches: 1019
  76. Swaps: 0
  77. File system inputs: 8073280
  78. File system outputs: 7043320
  79. Socket messages sent: 0
  80. Socket messages received: 0
  81. Signals delivered: 0
  82. Page size (bytes): 4096
  83. Exit status: 0