file transmission speed
Moderator: Moderator Team
file transmission speed
i have a question. While i am using the storescp to receive the .dcm files in the server. The transfer speed is much lower than i am directly copying the files to the server. How can i fully use the network bandwidth, or how can i transfer the file as much faster as i am directly copying the file?
Last edited by 7554753 on Thu, 2011-02-03, 22:55, edited 2 times in total.
i mean use dicomSender tools to send hunders of files at one time.
Does much of the time is wasted at connecting and disconnecting? And how can i solve this problem in the storescp source code?
Does much of the time is wasted at connecting and disconnecting? And how can i solve this problem in the storescp source code?
Last edited by 7554753 on Thu, 2011-02-03, 22:55, edited 2 times in total.
-
- OFFIS DICOM Team
- Posts: 1459
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
The answer to your question depends very much on how you are using storescp, and on the sending tool (storescu). Make sure that you
- run storescp in --bit-preserving mode
- use the latest snapshot and not DCMTK 3.5.4 release if you are using storescu as a sender
- Send all images using a single call to storescu, not a separate call for each image, which would cause a separate network connection to be negotiated each time
Then how to changes the receiver or storescp, do you mean i can only process received images one by one?
I just want to save the received images' information into database. if i can only process one image eacn time, that means i'll waste much in connecting database.
I just want to save the received images' information into database. if i can only process one image eacn time, that means i'll waste much in connecting database.
Last edited by 7554753 on Thu, 2011-02-03, 22:55, edited 2 times in total.
-
- OFFIS DICOM Team
- Posts: 1459
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
The policy of how many images are transmitted in a single network connection is defined by the client (SCU), not by the server. The server receives incoming objects and needs to acknowledge each receipt with a C-STORE-RSP message. Other than that, the local behaviour of the receiver is not mandated by the standard, i.e. is largely implementation specific.
-
- DCMTK Developer
- Posts: 2054
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi,
for transmitting 100 images, exactly 100 C-STORE-RQ messages are being transmitted in DICOM, in DCMTK's case from _storescu_ to storescp which again responds with 100 C-STORE-RSP messages. There is no way around that.
You can send all images on one connection (e. g. every start of storescu always starts only one connection = DICOM association); or you could run storescu multiple times to send 100 images on 100 connections which then produces association negotiation overhead.
Regards,
Michael
for transmitting 100 images, exactly 100 C-STORE-RQ messages are being transmitted in DICOM, in DCMTK's case from _storescu_ to storescp which again responds with 100 C-STORE-RSP messages. There is no way around that.
You can send all images on one connection (e. g. every start of storescu always starts only one connection = DICOM association); or you could run storescu multiple times to send 100 images on 100 connections which then produces association negotiation overhead.
Regards,
Michael
storescu ScpIP 104 1. dcm 2.dcm
i use the dcmtk scu to send 2 images like above, then the storescu will start one network connection or two network connection? Should I make some changes in storescu source code?
i use the dcmtk scu to send 2 images like above, then the storescu will start one network connection or two network connection? Should I make some changes in storescu source code?
Last edited by 7554753 on Thu, 2011-02-03, 22:55, edited 2 times in total.
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Who is online
Users browsing this forum: Google [Bot] and 1 guest