Hi All,
I am tried and tried to find a solution to this problem but I my inexperience with Orthanc is showing here.
We are using Orthanc as a secondary data store for a number of MRI modalities sending around 100GB per day.
I am using the Postgres plugin with its database stored on a RAID 5 array and have optimized postgres using pgtune for the hardware. 2x Quad Core, 8GB ram etc.
Postgres pgbench initialized with the following command pgbench -i -s 70 test yields results:
pgbench -c 4 -j 2 -T 600 -N test
starting vacuum...end.
transaction type: Update only pgbench_accounts
scaling factor: 70
query mode: simple
number of clients: 4
number of threads: 2
duration: 600 s
number of transactions actually processed: 32200
latency average: 74.534 ms
tps = 53.591238 (including connections establishing)
tps = 53.591628 (excluding connections establishing)
I have tested the RAID write speed over the network and am getting about 15MB/s.
However when receiving instances via orthanc each instance is taking a good second to be ingested which is causing some delays with storing images. I am currently running orthanc in verbose mode.
I1109 10:53:49.854678 ServerContext.cpp:260] New instance stored
I1109 10:53:50.907732 ServerContext.cpp:260] New instance stored
I1109 10:53:52.017163 ServerContext.cpp:260] New instance stored
I1109 10:53:53.346863 ServerContext.cpp:260] New instance stored
I1109 10:53:54.493729 ServerContext.cpp:260] New instance stored
I1109 10:53:55.723955 ServerContext.cpp:260] New instance stored
I1109 10:53:56.814080 ServerContext.cpp:260] New instance stored
I1109 10:53:57.948733 ServerContext.cpp:260] New instance stored
I1109 10:53:58.968266 ServerContext.cpp:260] New instance stored
I1109 10:54:00.041850 ServerContext.cpp:260] New instance stored
I1109 10:54:01.166173 ServerContext.cpp:260] New instance stored
I1109 10:54:02.235468 ServerContext.cpp:260] New instance stored
I1109 10:54:03.253823 ServerContext.cpp:260] New instance stored
I1109 10:54:04.248163 ServerContext.cpp:260] New instance stored
I1109 10:54:05.346230 ServerContext.cpp:260] New instance stored
I1109 10:54:06.835233 ServerContext.cpp:260] New instance stored
I1109 10:54:07.955813 ServerContext.cpp:260] New instance stored
I1109 10:54:09.102759 ServerContext.cpp:260] New instance stored
I1109 10:54:10.233766 ServerContext.cpp:260] New instance stored
I1109 10:54:11.411326 ServerContext.cpp:260] New instance stored
I1109 10:54:12.465343 ServerContext.cpp:260] New instance stored
I1109 10:54:13.501971 ServerContext.cpp:260] New instance stored
I1109 10:54:14.605760 ServerContext.cpp:260] New instance stored
I1109 10:54:15.720919 ServerContext.cpp:260] New instance stored
I1109 10:54:17.911693 ServerContext.cpp:260] New instance stored
I1109 10:54:19.014555 ServerContext.cpp:260] New instance stored
I1109 10:54:20.020982 ServerContext.cpp:260] New instance stored
As you can see each instance takes about ~1-2 seconds to be ingested.
Orthanc conf file attached.
Does anyone with more experience than I have any advice they could offer about speeding this up?
Many thanks,
Ben Ganley
config.json (9.9 KB)