Skip to content

Instantly share code, notes, and snippets.

@felipe-prenholato
Created December 1, 2011 03:00
Show Gist options
  • Save felipe-prenholato/1413107 to your computer and use it in GitHub Desktop.
Save felipe-prenholato/1413107 to your computer and use it in GitHub Desktop.
felipe@felipe-G51JX:/media/Media/Fotos/CameraSony$ du -sh 101MSDCF
2.0G 101MSDCF
felipe@felipe-G51JX:/media/Media/Fotos/CameraSony$ ls 101MSDCF/*JPG -1 | wc -l
489
felipe@felipe-G51JX:/media/Media/Fotos/CameraSony$ time cp 101MSDCF/* 101MSDCF_redimencionadas/
real 1m12.071s
user 0m0.060s
sys 0m5.012s
felipe@felipe-G51JX:/media/Media/Fotos/CameraSony$ time ppss -d 101MSDCF/ -c "cp $ITEM 101MSDCF_redimencionadas/"
Dec 01 00:59:06:
Dec 01 00:59:06: =========================================================
Dec 01 00:59:06: |P|P|S|S|
Dec 01 00:59:06: Distributed Parallel Processing Shell Script vers. 2.85
Dec 01 00:59:06: =========================================================
Dec 01 00:59:06: Hostname: felipe-G51JX
Dec 01 00:59:06: ---------------------------------------------------------
Dec 01 00:59:06: CPU: Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz
Dec 01 00:59:06: Found 8 logic processors.
Dec 01 00:59:06: Starting 8 parallel workers.
Dec 01 00:59:06: ---------------------------------------------------------
Dec 01 00:59:37: One job is remaining.
Dec 01 00:59:38: Total processing time (hh:mm:ss): 00:00:31
Dec 01 00:59:38: Finished. Consult ppss_dir/job_log for job output.
real 0m31.762s
user 0m6.828s
sys 0m7.308s
felipe@felipe-G51JX:/media/Media/Fotos/CameraSony$ time ppss -d 101MSDCF/ -c "cp $ITEM 101MSDCF_redimencionadas/" -p 16
Dec 01 01:29:17:
Dec 01 01:29:17: =========================================================
Dec 01 01:29:17: |P|P|S|S|
Dec 01 01:29:17: Distributed Parallel Processing Shell Script vers. 2.85
Dec 01 01:29:17: =========================================================
Dec 01 01:29:17: Hostname: felipe-G51JX
Dec 01 01:29:17: ---------------------------------------------------------
Dec 01 01:29:17: CPU: Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz
Dec 01 01:29:17: Starting 16 parallel workers.
Dec 01 01:29:17: ---------------------------------------------------------
Dec 01 01:29:49: One job is remaining.
Dec 01 01:29:49: Total processing time (hh:mm:ss): 00:00:32
Dec 01 01:29:49: Finished. Consult ppss_dir/job_log for job output.
real 0m31.860s
user 0m6.532s
sys 0m7.724s
felipe@felipe-G51JX:/media/Media/Fotos/CameraSony$ time ppss -d 101MSDCF/ -c "cp $ITEM 101MSDCF_redimencionadas/" -p 32
Dec 01 01:30:36:
Dec 01 01:30:36: =========================================================
Dec 01 01:30:36: |P|P|S|S|
Dec 01 01:30:36: Distributed Parallel Processing Shell Script vers. 2.85
Dec 01 01:30:36: =========================================================
Dec 01 01:30:36: Hostname: felipe-G51JX
Dec 01 01:30:36: ---------------------------------------------------------
Dec 01 01:30:36: CPU: Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz
Dec 01 01:30:36: Starting 32 parallel workers.
Dec 01 01:30:36: ---------------------------------------------------------
Dec 01 01:31:08: One job is remaining.
Dec 01 01:31:08: Total processing time (hh:mm:ss): 00:00:32
Dec 01 01:31:08: Finished. Consult ppss_dir/job_log for job output.
real 0m31.689s
user 0m6.684s
sys 0m7.232s
felipe@felipe-G51JX:/media/Media/Fotos/CameraSony/101MSDCF$ time ppss -d . -c "tar cf - $ITEM | tar xvf - -C ../101MSDCF_redimencionadas/"
Dec 01 01:02:52:
Dec 01 01:02:52: =========================================================
Dec 01 01:02:52: |P|P|S|S|
Dec 01 01:02:52: Distributed Parallel Processing Shell Script vers. 2.85
Dec 01 01:02:52: =========================================================
Dec 01 01:02:52: Hostname: felipe-G51JX
Dec 01 01:02:52: ---------------------------------------------------------
Dec 01 01:02:52: CPU: Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz
Dec 01 01:02:52: Found 8 logic processors.
Dec 01 01:02:52: Starting 8 parallel workers.
Dec 01 01:02:52: ---------------------------------------------------------
Dec 01 01:03:23: One job is remaining.
Dec 01 01:03:23: Total processing time (hh:mm:ss): 00:00:31
Dec 01 01:03:23: Finished. Consult ppss_dir/job_log for job output.
real 0m31.991s
user 0m6.820s
sys 0m7.588s
felipe@felipe-G51JX:/media/Media/Fotos/CameraSony$ time ppss -d 101MSDCF/ -c "cp $ITEM 101MSDCF_redimencionadas/" -p 64
Dec 01 01:31:35:
Dec 01 01:31:35: =========================================================
Dec 01 01:31:35: |P|P|S|S|
Dec 01 01:31:35: Distributed Parallel Processing Shell Script vers. 2.85
Dec 01 01:31:35: =========================================================
Dec 01 01:31:35: Hostname: felipe-G51JX
Dec 01 01:31:35: ---------------------------------------------------------
Dec 01 01:31:35: CPU: Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz
Dec 01 01:31:35: Starting 64 parallel workers.
Dec 01 01:31:35: ---------------------------------------------------------
Dec 01 01:32:08: One job is remaining.
Dec 01 01:32:08: Total processing time (hh:mm:ss): 00:00:33
Dec 01 01:32:08: Finished. Consult ppss_dir/job_log for job output.
real 0m33.581s
user 0m7.148s
sys 0m7.584s
felipe@felipe-G51JX:/media/Media/Fotos/CameraSony$ time ppss -d 101MSDCF -c 'cp $ITEM ${ITEM/101MSDCF/101MSDCF_redimencionadas} -v && mogrify -verbose -resize 40% ${ITEM/101MSDCF/101MSDCF_redimencionadas}'
Dec 01 01:21:34:
Dec 01 01:21:34: =========================================================
Dec 01 01:21:34: |P|P|S|S|
Dec 01 01:21:34: Distributed Parallel Processing Shell Script vers. 2.85
Dec 01 01:21:34: =========================================================
Dec 01 01:21:34: Hostname: felipe-G51JX
Dec 01 01:21:34: ---------------------------------------------------------
Dec 01 01:21:34: CPU: Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz
Dec 01 01:21:34: Found 8 logic processors.
Dec 01 01:21:34: Starting 8 parallel workers.
Dec 01 01:21:34: ---------------------------------------------------------
Dec 01 01:26:21: One job is remaining.
Dec 01 01:26:22: Total processing time (hh:mm:ss): 00:04:48
Dec 01 01:26:22: Finished. Consult ppss_dir/job_log for job output.
real 4m47.626s
user 26m58.233s
sys 1m19.805s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment