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
Network transfer speed in DCMTK 3.6.2
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Network transfer speed in DCMTK 3.6.2
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
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
-
- DCMTK Developer
- Posts: 2504
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Network transfer speed in DCMTK 3.6.2
Alternatively, you could also set TCP_NODELAY to a non-zero value. See envvars.txt for details.
-
- Posts: 2
- Joined: Thu, 2017-09-07, 14:21
Re: Network transfer speed in DCMTK 3.6.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
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
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Network transfer speed in DCMTK 3.6.2
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
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
Who is online
Users browsing this forum: No registered users and 1 guest