DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Tue, 2017-11-21, 09:03

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu, 2017-09-07, 15:14 
Offline

Joined: Thu, 2017-09-07, 14:21
Posts: 2
Hi All,

we implement a Store SCP in out software and switched from DCMTK 3.6.0 to 3.6.2. Using the new release the network transfer takes considerably longer. This can also be seen using the DCMTK's command line tools.

Setup:
- 151 slices, 76.6 MB
- local network

Results:
\3.6.2_pre-compiled\storescp.exe -v --ignore --disable-host-lookup >>> 7.7s (using storescu v3.6.0)
.\3.6.0\storescp.exe 4000 -v --ignore --disable-host-lookup >>> 1.2s (using storescu v3.6.0)

Using storescu v3.6.2 produces very similar results. Does anybody have an idea on how to proceed from here?

cheers,
Tobias


Top
 Profile  
 
PostPosted: Thu, 2017-09-07, 15:19 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1633
Location: Oldenburg, Germany
Hi Tobias,

have you also tried to build from source? If so, and the problem remains, can you try setting the define DISABLE_NAGLE_ALGORITHM during build?

Best regards,
Michael


Top
 Profile  
 
PostPosted: Thu, 2017-09-07, 16:05 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1874
Location: Oldenburg, Germany
Alternatively, you could also set TCP_NODELAY to a non-zero value. See envvars.txt for details.


Top
 Profile  
 
PostPosted: Fri, 2017-09-08, 12:44 
Offline

Joined: Thu, 2017-09-07, 14:21
Posts: 2
Thanks for the quick reply!

This does the trick. Both versions reach the same speed now (1.2s on the above mentioned test data).

As our server runs on Windows 7, we will set DISABLE_NAGLE_ALGORITHM for our DCMTK installation.

cheers,
Tobias


Top
 Profile  
 
PostPosted: Fri, 2017-09-08, 13:10 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1633
Location: Oldenburg, Germany
Hi Tobias,

thanks for the info and glad we could help.

Actually we think about changing the default behaviour in DCMTK in that regard, since a speed loss of 6 times or so is not acceptable, and someone else has reported the same issue to us.

Best,
Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

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


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group