dcmsnd -fileref speed

183 views
Skip to first unread message

Bartosz Wiklak

unread,
Aug 7, 2013, 10:29:29 AM8/7/13
to dcm...@googlegroups.com
Hi,
I'm testing migration from old pacs to dcm4chee. I have created new file system with a directory pointing to where the old images are and send them using "dcmsnd -fileref" command.

My timing results are:

Scanned 1734 files in 7.399s (=4ms/file)
Connected to ARCHIMEDIC@localhost:11112 in 0.133s
Sent 1734 objects (=869.2189MB) in 83.599s (=10.397479MB/s)

Fragments od dcm4chee server log:

2013-08-07 16:18:49,321 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] received [pc-1] 1733:C_STORE_RQ with Dataset
        class:  1.2.840.10008.5.1.4.1.1.2/CT Image Storage
        inst:   1.2.826.0.1.3680043.2.1125.1.75064541463040.2005072610403168013/?
2013-08-07 16:18:49,325 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.dcm.storescp.StoreScpService] M-READ /root/testDcmMigration/VISIBLE_HUMAN/FEMALE/vhf.582.dcm
2013-08-07 16:18:49,346 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.ejb.session.StorageBean] inserting instance FileMetaInfo[uid=1.2.826.0.1.3680043.2.1125.1.75064541463040.2005072610403168013
        class=1.2.840.10008.5.1.4.1.1.2/CT Image Storage
        ts=1.2.840.10008.1.2.1/Explicit VR Little Endian
        impl=1.2.840.10008.5.1.4.1.1.7-null]
2013-08-07 16:18:49,349 WARN  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.ejb.entity.PatientBean] Coerce null to (0010,0021) Issuer of Patient ID,LO,*1,#8,[DCM4CHEE]
2013-08-07 16:18:49,351 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.ejb.entity.InstanceBean] Created Instance[pk=17196, iuid=1.2.826.0.1.3680043.2.1125.1.75064541463040.2005072610403168013, cuid=1.2.840.10008.5.1.4.1.1.2, series->ejb/Series:132]
2013-08-07 16:18:49,353 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.ejb.entity.FileBean] Created File[pk=27738, filepath=VISIBLE_HUMAN/FEMALE/vhf.582.dcm, tsuid=1.2.840.10008.1.2.1, filesystem->ejb/FileSystem:3, inst->ejb/Instance:17196]
2013-08-07 16:18:49,353 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.ejb.session.StorageBean] inserted records for instance[uid=1.2.826.0.1.3680043.2.1125.1.75064541463040.2005072610403168013]
2013-08-07 16:18:49,376 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] sending [pc-1] 1733:C_STORE_RSP
        class:  1.2.840.10008.5.1.4.1.1.2/CT Image Storage
        inst:   1.2.826.0.1.3680043.2.1125.1.75064541463040.2005072610403168013/?
        status: 0
2013-08-07 16:18:49,377 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] received [pc-1] 1734:C_STORE_RQ with Dataset
        class:  1.2.840.10008.5.1.4.1.1.2/CT Image Storage
        inst:   1.2.826.0.1.3680043.2.1125.1.75064541463040.2005072610414416457/?
2013-08-07 16:18:49,393 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.dcm.storescp.StoreScpService] M-READ /root/testDcmMigration/VISIBLE_HUMAN/FEMALE/vhf.987.dcm
2013-08-07 16:18:49,405 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.ejb.session.StorageBean] inserting instance FileMetaInfo[uid=1.2.826.0.1.3680043.2.1125.1.75064541463040.2005072610414416457
        class=1.2.840.10008.5.1.4.1.1.2/CT Image Storage
        ts=1.2.840.10008.1.2.1/Explicit VR Little Endian
        impl=1.2.840.10008.5.1.4.1.1.7-null]
2013-08-07 16:18:49,409 WARN  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.ejb.entity.PatientBean] Coerce null to (0010,0021) Issuer of Patient ID,LO,*1,#8,[DCM4CHEE]
2013-08-07 16:18:49,410 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.ejb.entity.InstanceBean] Created Instance[pk=17197, iuid=1.2.826.0.1.3680043.2.1125.1.75064541463040.2005072610414416457, cuid=1.2.840.10008.5.1.4.1.1.2, series->ejb/Series:132]
2013-08-07 16:18:49,412 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.ejb.entity.FileBean] Created File[pk=27739, filepath=VISIBLE_HUMAN/FEMALE/vhf.987.dcm, tsuid=1.2.840.10008.1.2.1, filesystem->ejb/FileSystem:3, inst->ejb/Instance:17197]
2013-08-07 16:18:49,412 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4chex.archive.ejb.session.StorageBean] inserted records for instance[uid=1.2.826.0.1.3680043.2.1125.1.75064541463040.2005072610414416457]
2013-08-07 16:18:49,428 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] sending [pc-1] 1734:C_STORE_RSP
        class:  1.2.840.10008.5.1.4.1.1.2/CT Image Storage
        inst:   1.2.826.0.1.3680043.2.1125.1.75064541463040.2005072610414416457/?
        status: 0
2013-08-07 16:18:49,429 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] received A-RELEASE-RQ
2013-08-07 16:18:49,429 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] sending A-RELEASE-RP
2013-08-07 16:18:49,544 INFO  DCMSND->ARCHIMEDIC (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] closing connection - Socket[addr=localhost/127.0.0.1,port=58749,localport=11112]
2013-08-07 16:18:49,544 INFO  -> (TCPServer-1-2) [org.dcm4cheri.server.ServerImpl] finished - Socket[addr=localhost/127.0.0.1,port=58749,localport=11112]

Is there a way to fasten migration speed? I tried to increase log levels but it did not help.



Alvaro G. [Andor]

unread,
Aug 7, 2013, 11:23:31 AM8/7/13
to dcm...@googlegroups.com
Run multiple sending proccesses at the same time. DICOM protocol isn't very efficient sending images, specially if they are small files (see MRI or CT instead of Chest CRs or mammo). Divide the data in several folders and run a dcmsnd process for each folder.

Thanks!

El 07/08/13 16:29, Bartosz Wiklak escribió:
--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages