So, I set up a new computer, same specs as an old one, but it's lagging a lot. I ran a few benchmarks, and you can see here:
system 1# time convert rose: -resize 5000x5000 -bench 5 /tmp/rose.png
Performance: 5i 0.221729ips 26.050u 0:22.549
real 0m22.554s
user 0m25.795s
sys 0m0.262s
system 2#time convert rose: -resize 5000x5000 -bench 5 /tmp/rose.png
Performance: 5i 0.220167ips 28.710u 0:22.710
real 0m22.731s
user 0m25.553s
sys 0m3.172s
While the overall time is about the same.. The sys time (time spent in kernel) is over 10 times as long.
I believe this may have something to do with the sluggishness.. so, I'm wondering if any of you had advise on where to begin to figure this out.
Slow system... where to begin..
Re: Slow system... where to begin..
Verify the specs are the same. Type
- convert -list configure
convert -list resource
- export MAGICK_THREAD_LIMIT=1
- convert -list resource
- time convert rose: -resize 5000x5000 -bench 5 /tmp/rose.png
Re: Slow system... where to begin..
IM is exact same version.
thread limit doesn't seem to change sys time at all.
thread limit doesn't seem to change sys time at all.
Re: Slow system... where to begin..
Wait.. the limit didn't take.
# export MAGICK_THREAD_LIMIT=1
# convert -list resource
File Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
768 8.1252GB 5.6754GiB 15.134GiB 18.446744EB 8 unlimited
# set | grep MAGIC
MAGICK_THREAD_LIMIT=1
# export MAGICK_THREAD_LIMIT=1
# convert -list resource
File Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
768 8.1252GB 5.6754GiB 15.134GiB 18.446744EB 8 unlimited
# set | grep MAGIC
MAGICK_THREAD_LIMIT=1
Re: Slow system... where to begin..
We're using tcsh and get the expected results:
You can also set the thread limit from the command line:
We're using ImageMagick 6.6.7-6, the current release.
Code: Select all
-> convert -list resource
File Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
48000 782.8MB 5.8323GiB 11.665GiB unlimited 8 unlimited
-> setenv MAGICK_THREAD_LIMIT 1
-> convert -list resource
File Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
48000 782.8MB 5.8323GiB 11.665GiB unlimited 1 unlimited
Code: Select all
convert -limit thread 1 -list resource
File Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
48000 782.8MB 5.8323GiB 11.665GiB unlimited 1 unlimited