Search found 328 matches

by martinrame
Mon, 2019-05-27, 14:28
Forum: DCMTK - General
Topic: Simplify output of dcmsend, findscu and movescu
Replies: 3
Views: 30

Re: Simplify output of dcmsend, findscu and movescu

Thank you for your (feature) request. findscu already has various --extract options for extracting the C-FIND response datasets to various formats, including DICOM and XML. I don't think that it makes sense to add further output formats since all DCMTK tools are basically meant as sample programs t...
by martinrame
Mon, 2019-05-27, 13:35
Forum: DCMTK - General
Topic: Simplify output of dcmsend, findscu and movescu
Replies: 3
Views: 30

Simplify output of dcmsend, findscu and movescu

Hi, I use findscu, dcmsend and movescu from shell scripts, they of course work, but parsing its output is quite complicated. Is there a possibility in future versions to add an "--output-as-json" option to those tools to let them output results as JSON to easy it's parsing?.

Regards,
Leonardo.
by martinrame
Mon, 2019-05-20, 12:18
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

Apart from this today I installed Conquest, but got the same results, so, aparently the problem is not server side?,
by martinrame
Mon, 2019-05-20, 01:09
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

Today I did a comparison between storescp 3.6.4 and storescp 3.5.4 and found the older is much slower than the newer, almost 10 seconds slower.

All tests performed between my laptop at home sending a file to the Digital Ocean's droplet.
by martinrame
Wed, 2019-05-15, 12:21
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

Ok, using iperf this are the results: Server: ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 4] local BBB.YYY.ZZZ.AAA port 5001 connected with XXX.YYY....
by martinrame
Tue, 2019-05-14, 20:08
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

BTW, I did the test against a virtual machine running on a standard i7 PC on a remote location and it took the same time storescp and scp, so, it looks like the problem is on the Digital Ocean (and Vultr) droplets.
by martinrame
Tue, 2019-05-14, 20:03
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

J. Riesmeier wrote:
Tue, 2019-05-14, 19:52
Did you already check what the maximum throughput of your network connection is (i.e. theoretically). Maybe, your "scp" tool compresses the transferred file by default,
Well, I don't know. How can I check that on Linux (Ubuntu 16.04 Server).
by martinrame
Tue, 2019-05-14, 16:23
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

Today I used a Pynetdicom SCP program to test this issue and got the same results (dicom transfer much slower than scp), so it's not a problem of DCMTK.

Anyway, if someone has any idea how to track this issue I'll be glad to hear.

Leonardo.
by martinrame
Mon, 2019-05-13, 20:01
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

J. Riesmeier wrote:
Mon, 2019-05-13, 19:38
You could also call "cmake -L | fgrep CMAKE_BUILD_TYPE" to see the build type.

Thanks, it returned "CMAKE_BUILD_TYPE:STRING=Release"
by martinrame
Mon, 2019-05-13, 19:28
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

BTW, I built dcmtk with

Code: Select all

cmake . && make
This generates a release or debug version?, if mine is a debug version can it be the cause of the slowness?.
by martinrame
Mon, 2019-05-13, 19:22
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

Weird, because I did a test against two different servers (one Digital Ocean and other Vultr) and both gave very similar results 12 seconds for scp and 22 seconds for dcmsend.
by martinrame
Mon, 2019-05-13, 19:03
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

Could you execute both operations (dcmsend and scp) preceded by the command "time" to see the global result in seconds?.
by martinrame
Mon, 2019-05-13, 14:15
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

The dicom sample file is 3.4Mb, and the connection is about 1.5mb/s (please take a look at the first post of this thread), copying the file usings scp takes 12seconds against 22 seconds sending the file to storescp using dcmsend.
by martinrame
Mon, 2019-05-13, 12:32
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

Ok, with --bit-preserving nothing changed. Here is the trace: 2019-05-13 08:24:26.679 DEBUG - storescp - $dcmtk: storescp v3.6.4 2018-11-29 $ 2019-05-13 08:24:26.679 DEBUG - storescp - 2019-05-13 08:24:26.680 DEBUG - dcmdata - DcmDataDictionary: Loading file: /home/informemedico/scp/config/dicom.dic...
by martinrame
Sat, 2019-05-11, 19:09
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 231

Re: storescp much slower than scp (copy through ssh)

The latest test was using a log file to log the process timestamp, here it is: 2019-05-11 14:54:36.583 DEBUG - storescp - $dcmtk: storescp v3.6.4 2018-11-29 $ 2019-05-11 14:54:36.583 DEBUG - storescp - 2019-05-11 14:54:36.584 DEBUG - dcmdata - DcmDataDictionary: Loading file: /home/leonardo/scp/conf...