Need4Speed StoreScu/StoreScp

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Daanen
Posts: 27
Joined: Mon, 2008-03-17, 17:41

Need4Speed StoreScu/StoreScp

#1 Post by Daanen »

Hi all,

no, this is not a new version of the Need4Speed electronic game ;)

In my application, I use the tools storescu/storescp to get images from a CD-ROM. This is done because my application can also receive images by networks from pacs.
The problem is that getting images from DVD is really long for 'filled DVD' (say 1200 Mr images + 1500 others files (jpg, etc..) (up to 7 minutes !!)

This is the way I'm starting storescu and storescp processes:
storescu

Code: Select all

storescu.exe --no-halt +sd +r -q -aec MY_AETITLE -xf storescu_configfile STORESCU_CONFIG localhost 11112 f:\*
storescp

Code: Select all

storescp.exe 11112 -od d:\temp\Receipt -aet MY_AETITLE -xf storescp_configfile STORESCP_CONFIG -sp --fork
the 'configurations' are set so that only MR images are sent/received.

I'd like to add (or remove options except the --fork) to speedup transfert

Any idea and/or advice is welcome

Thanks

Michael Onken
DCMTK Developer
Posts: 2072
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#2 Post by Michael Onken »

Hi,

maybe the bottleneck is the DVD and not the network speed? Maybe try a script that copies all files to your harddisk or a shared network folder (better) and measure the time.

And if you have not DNS set up, you may use -dhl as a storescp option to prevent storescp from trying a hostname lookup (for logging). You may disable logging at all, or set it to fatal (option --ll FATAL) if you know it works in general.

Best regards,
Michael

Yves Neumann
Posts: 30
Joined: Fri, 2005-12-02, 17:06
Location: Germany

#3 Post by Yves Neumann »

To reduce reading time on the media you may also want to modify the storescu code and exclude "well-known" file-types to be feed into DcmFileFormat::loadFile() that are not DICOM files, e.g. *.exe, *.jpg and so on. That should increase the processing speed since those files will not be touched then and are not processed by storescu anyway.

J. Riesmeier
DCMTK Developer
Posts: 2541
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

#4 Post by J. Riesmeier »

storescu has already a --scan-pattern option, but no --exclude-pattern, that's right (but a little script should do). Also using --read-file-only should help since it makes sure that only DICOM files (with file meta information) are read. And, the dcmsend tool now also supports a --read-from-dicomdir option that might be helpful in this context ...

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest