On 14 Sep 2007 at 11:56, Dan Langille wrote: > On 14 Sep 2007 at 13:04, Kern Sibbald wrote: > > > I have back ported the "stable" fixes we have made to the current SVN > > trunk (2.3.4) to the 2.2 branch, and would appreciate it if you would run > > some regression tests -- they all pass here, but before releasing it, I > > think > > it would be good to see that it runs elsewhere. > > Passed on: > FreeBSD 6.2 with PostgreSQL 8.2.4 > FreeBSD 7.x with MySQL 5.1 > > Details below. > > Configuration on Fri Sep 14 09:55:10 EDT 2007: > > Host: i386-unknown-freebsd6.2 -- freebsd 6.2- > STABLE > Bacula version: 2.2.4 (12 September 2007) > Source code location: . > Install binaries: /usr/home/dan/src/BaculaRegression/bin > Install config files: /usr/home/dan/src/BaculaRegression/bin > Scripts directory: /usr/home/dan/src/BaculaRegression/bin > Working directory: > /usr/home/dan/src/BaculaRegression/working > PID directory: > /usr/home/dan/src/BaculaRegression/working > Subsys directory: > /usr/home/dan/src/BaculaRegression/working > Man directory: /usr/home/dan/src/BaculaRegression/bin > Data directory: /usr/share > C Compiler: gcc 3.4.6 > C++ Compiler: /usr/bin/g++ 3.4.6 > Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno- > exceptions -fno-rtti > Linker flags: > Libraries: -lpthread > Statically Linked Tools: no > Statically Linked FD: no > Statically Linked SD: no > Statically Linked DIR: no > Statically Linked CONS: no > Database type: PostgreSQL > Database lib: -L/usr/local/lib -lpq -lcrypt > Database name: regress > Database user: regress > > Job Output Email: [EMAIL PROTECTED] > Traceback Email: [EMAIL PROTECTED] > SMTP Host Address: localhost > > Director Port: 8101 > File daemon Port: 8102 > Storage daemon Port: 8103 > > Director User: > Director Group: > Storage Daemon User: > Storage DaemonGroup: > File Daemon User: > File Daemon Group: > > SQL binaries Directory /usr/local/bin > > Large file support: yes > Bacula conio support: yes -ltermcap > readline support: no > TCP Wrappers support: yes -lwrap > TLS support: yes > Encryption support: yes > ZLIB support: yes > enable-smartalloc: yes > bat support: no > enable-gnome: no > enable-bwx-console: no > enable-tray-monitor: > client-only: no > build-dird: yes > build-stored: yes > ACL support: yes > Python support: no > Batch insert enabled: no > > > > Test results > > > Start non-root disk tests > ===== auto-label-test OK 09:59:14 ===== > ===== backup-bacula-test OK 10:01:56 ===== > ===== bextract-test OK 10:03:35 ===== > ===== big-vol-test OK 10:06:24 ===== > ===== bscan-test OK 10:08:53 ===== > ===== bsr-opt-test OK 10:10:28 ===== > ===== compressed-test OK 10:12:14 ===== > ===== compressed-encrypt-test OK 10:14:17 ===== > ===== concurrent-jobs-test OK 10:15:38 ===== > ===== data-encrypt-test OK 10:17:29 ===== > ===== encrypt-bug-test OK 10:18:21 ===== > ===== fifo-test OK 10:20:10 ===== > ===== backup-to-null OK 10:22:02 ===== > ===== regexwhere-test OK 10:23:31 ===== > ===== differential-test OK 10:24:33 ===== > ===== four-concurrent-jobs-test OK 10:27:37 ===== > ===== four-jobs-test OK 10:30:13 ===== > ===== incremental-test OK 10:31:39 ===== > ===== query-test OK 10:33:09 ===== > ===== recycle-test OK 10:37:41 ===== > ===== restore2-by-file-test OK 10:39:18 ===== > ===== restore-by-file-test OK 10:40:07 ===== > ===== restore-disk-seek-test OK 10:40:59 ===== > ===== six-vol-test OK 10:42:02 ===== > ===== span-vol-test OK 10:43:35 ===== > ===== sparse-compressed-test OK 10:45:21 ===== > ===== sparse-test OK 10:47:21 ===== > ===== two-jobs-test OK 10:49:33 ===== > ===== two-vol-test OK 10:51:43 ===== > ===== verify-cat-test OK 10:53:49 ===== > ===== verify-vol-test OK 10:55:42 ===== > ===== weird-files2-test OK 10:56:37 ===== > ===== weird-files-test OK 10:57:31 ===== > ===== migration-job-test OK 11:01:07 ===== > ===== migration-jobspan-test OK 11:03:31 ===== > ===== migration-volume-test OK 11:06:04 ===== > ===== migration-time-test OK 11:09:39 ===== > ===== hardlinkk-test OK 11:10:35 ===== > ===== tls-test OK 11:12:30 ===== > End non-root disk tests > > Start non-root virtual disk autochangertests > ===== two-pool-test OK 11:18:55 ===== > ===== fast-two-pool-test OK 11:26:43 ===== > ===== two-volume-test OK 11:28:26 ===== > ===== incremental-2disk OK 11:29:20 ===== > ===== 2drive-incremental-2disk OK 11:30:21 ===== > ===== 2drive-concurrent-test OK 11:33:29 ===== > ===== incremental-2media OK 11:35:23 ===== > ===== three-pool-disk OK 11:39:02 ===== > ===== 2drive-3pool-disk OK 11:42:01 ===== > End non-root virtual disk autochangertests > End do_file tests > Total time = 1:45:12 or 6312 secs
Compare above with below. 105 minutes with batch disabled. 68 minutes with batch enabled. That is 35% faster, just on regression tests. This isn't a measure of how much faster batch insert or thread enabled is, but it does indicate the speed improvement is there. Configuration on Fri Sep 14 12:51:47 EDT 2007: Host: i386-unknown-freebsd6.2 -- freebsd 6.2- STABLE Bacula version: 2.2.4 (12 September 2007) Source code location: . Install binaries: /usr/home/dan/src/BaculaRegression/bin Install config files: /usr/home/dan/src/BaculaRegression/bin Scripts directory: /usr/home/dan/src/BaculaRegression/bin Working directory: /usr/home/dan/src/BaculaRegression/working PID directory: /usr/home/dan/src/BaculaRegression/working Subsys directory: /usr/home/dan/src/BaculaRegression/working Man directory: /usr/home/dan/src/BaculaRegression/bin Data directory: /usr/share C Compiler: gcc 3.4.6 C++ Compiler: /usr/bin/g++ 3.4.6 Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno- exceptions -fno-rtti Linker flags: Libraries: -lpthread Statically Linked Tools: no Statically Linked FD: no Statically Linked SD: no Statically Linked DIR: no Statically Linked CONS: no Database type: PostgreSQL Database lib: -L/usr/local/lib -lpq -lcrypt Database name: regress Database user: regress Job Output Email: [EMAIL PROTECTED] Traceback Email: [EMAIL PROTECTED] SMTP Host Address: localhost Director Port: 8101 File daemon Port: 8102 Storage daemon Port: 8103 Director User: Director Group: Storage Daemon User: Storage DaemonGroup: File Daemon User: File Daemon Group: SQL binaries Directory /usr/local/bin Large file support: yes Bacula conio support: yes -ltermcap readline support: no TCP Wrappers support: yes -lwrap TLS support: yes Encryption support: yes ZLIB support: yes enable-smartalloc: yes bat support: no enable-gnome: no enable-bwx-console: no enable-tray-monitor: client-only: no build-dird: yes build-stored: yes ACL support: yes Python support: yes -L/usr/local/lib/python2.5/config - lpython2.5 -lutil Batch insert enabled: yes Test results Start non-root disk tests ===== auto-label-test OK 12:54:58 ===== ===== backup-bacula-test OK 12:56:38 ===== ===== bextract-test OK 12:57:38 ===== ===== big-vol-test OK 12:59:06 ===== ===== bscan-test OK 13:00:38 ===== ===== bsr-opt-test OK 13:01:36 ===== ===== compressed-test OK 13:02:43 ===== ===== compressed-encrypt-test OK 13:04:03 ===== ===== concurrent-jobs-test OK 13:05:24 ===== ===== data-encrypt-test OK 13:06:41 ===== ===== encrypt-bug-test OK 13:07:33 ===== ===== fifo-test OK 13:09:22 ===== ===== backup-to-null OK 13:10:39 ===== ===== regexwhere-test OK 13:12:08 ===== ===== differential-test OK 13:13:07 ===== ===== four-concurrent-jobs-test OK 13:14:23 ===== ===== four-jobs-test OK 13:16:09 ===== ===== incremental-test OK 13:17:37 ===== ===== query-test OK 13:19:16 ===== ===== recycle-test OK 13:21:18 ===== ===== restore2-by-file-test OK 13:22:15 ===== ===== restore-by-file-test OK 13:23:05 ===== ===== restore-disk-seek-test OK 13:24:01 ===== ===== six-vol-test OK 13:25:04 ===== ===== span-vol-test OK 13:26:13 ===== ===== sparse-compressed-test OK 13:27:19 ===== ===== sparse-test OK 13:28:24 ===== ===== two-jobs-test OK 13:30:00 ===== ===== two-vol-test OK 13:31:07 ===== ===== verify-cat-test OK 13:32:36 ===== ===== verify-vol-test OK 13:33:59 ===== ===== weird-files2-test OK 13:34:52 ===== ===== weird-files-test OK 13:35:41 ===== ===== migration-job-test OK 13:37:02 ===== ===== migration-jobspan-test OK 13:38:25 ===== ===== migration-volume-test OK 13:39:51 ===== ===== migration-time-test OK 13:41:17 ===== ===== hardlink-test OK 13:42:07 ===== ===== tls-test OK 13:43:29 ===== End non-root disk tests Start non-root virtual disk autochangertests ===== two-pool-test OK 13:47:16 ===== ===== fast-two-pool-test OK 13:53:14 ===== ===== two-volume-test OK 13:54:19 ===== ===== incremental-2disk OK 13:55:17 ===== ===== 2drive-incremental-2disk OK 13:56:14 ===== ===== 2drive-concurrent-test OK 13:57:34 ===== ===== incremental-2media OK 13:58:47 ===== ===== three-pool-disk OK 14:00:20 ===== ===== 2drive-3pool-disk OK 14:01:46 ===== End non-root virtual disk autochangertests End do_file tests Total time = 1:08:19 or 4099 secs -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
