Search found 347 matches
- Mon, 2019-05-13, 19:03
- Forum: DCMTK - General
- Topic: storescp much slower than scp (copy through ssh)
- Replies: 27
- Views: 14973
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?.
- Mon, 2019-05-13, 14:15
- Forum: DCMTK - General
- Topic: storescp much slower than scp (copy through ssh)
- Replies: 27
- Views: 14973
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.
- Mon, 2019-05-13, 12:32
- Forum: DCMTK - General
- Topic: storescp much slower than scp (copy through ssh)
- Replies: 27
- Views: 14973
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...
- Sat, 2019-05-11, 19:09
- Forum: DCMTK - General
- Topic: storescp much slower than scp (copy through ssh)
- Replies: 27
- Views: 14973
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...
- Sat, 2019-05-11, 18:52
- Forum: DCMTK - General
- Topic: storescp much slower than scp (copy through ssh)
- Replies: 27
- Views: 14973
Re: storescp much slower than scp (copy through ssh)
The next test was changing the environment variable TCP_NODELAY. 1. export TCP_NODELAY=1: Result: 24.748s 2. export TCP_NODELAY=0 (default): Result: 22.55s. The best performance was obtained using the default values. Still far behind scp (do not confuse dicom scp with ssh scp, the second is the one ...
- Sat, 2019-05-11, 18:43
- Forum: DCMTK - General
- Topic: storescp much slower than scp (copy through ssh)
- Replies: 27
- Views: 14973
Re: storescp much slower than scp (copy through ssh)
I played with the environment variable TCP_BUFFER_LENGTH, trying with these values: 1. export TCP_BUFFER_LENGTH=1024 It takes forever, I had to ctrl+c storescp. 2. export TCP_BUFFER_LENGTH=129076 It took 22.318s, the same as using the default values. 3. export TCP_BUFFER_LENGTH=229076 It took 22.681...
- Sat, 2019-05-11, 18:08
- Forum: DCMTK - General
- Topic: storescp much slower than scp (copy through ssh)
- Replies: 27
- Views: 14973
Re: storescp much slower than scp (copy through ssh)
Ok, now I replaced storescp with the 3.6.4 version, but I still get similar results. I played with -pdu (ranging from 4096 up to 131072), but the whole process still takes ~23 seconds to finish.
- Sat, 2019-05-11, 16:58
- Forum: DCMTK - General
- Topic: storescp much slower than scp (copy through ssh)
- Replies: 27
- Views: 14973
Re: storescp much slower than scp (copy through ssh)
I'm using . I'll try with the latest version.
Code: Select all
storescp v3.6.1 2015-02-17
- Sat, 2019-05-11, 00:01
- Forum: DCMTK - General
- Topic: Mig32-w64 32bit - Undefined reference to winmain
- Replies: 3
- Views: 2179
[SOLVED] Re: Mig32-w64 32bit - Undefined reference to winmain
Well, I deleted my mingw and also that dcmtk version, downloaded everything again, compiled and it worked without a glitch.
- Fri, 2019-05-10, 23:55
- Forum: DCMTK - General
- Topic: storescp much slower than scp (copy through ssh)
- Replies: 27
- Views: 14973
storescp much slower than scp (copy through ssh)
Hi, I'm trying to find the cause of a very slow storescp behavior. On a VPS (Digital Ocean, 4v cpu, 8gb RAM, 1tb SSD drive, Ubuntu 16.04 64bit) I run: storescp -dhl --ignore 105 then in my PC I execute two tests: Test 1: copy a file using "scp": time scp ~/dicom/IM_0020 vps-server:/home/le...
- Fri, 2019-05-03, 13:51
- Forum: DCMTK - General
- Topic: Mig32-w64 32bit - Undefined reference to winmain
- Replies: 3
- Views: 2179
Re: Mig32-w64 32bit - Undefined reference to winmain
Btw, I'm using gcc version 4.9.1 (i686-posix-dwarf-rev3, Built by MinGW-W64 project).
- Fri, 2019-05-03, 13:46
- Forum: DCMTK - General
- Topic: Mig32-w64 32bit - Undefined reference to winmain
- Replies: 3
- Views: 2179
Mig32-w64 32bit - Undefined reference to winmain
Hi, I need to build dcmtk-3.6.1_20150217 snapshot (I need this version because a library I've built some time ago need this specific version) using Mingw32-w64 for 32bits, but after configuring with CMAKE using CMAKE-GUI on Windows 7 and executing mingw32-make I get undefined reference to WinMain@16...
- Tue, 2019-04-09, 15:30
- Forum: DCMPRINT
- Topic: TCPSRV Landscape printing
- Replies: 2
- Views: 6389
Re: TCPSRV Landscape printing
This is unfortunately not possible. The definitions of the page size and portrait/landscape orientation are independent from each other. When a page is set to landscape mode, the size definition from the configuration file is rotated by 90 degrees. Thanks, but when I send a page from a modality wit...
- Mon, 2019-04-08, 10:27
- Forum: DCMPRINT
- Topic: TCPSRV Landscape printing
- Replies: 2
- Views: 6389
TCPSRV Landscape printing
Hi, I'm using TCPSRV as a print server and I would like to define a different set of FilmSize depending on page orientation. For example, for Portrait 11INX14IN I have: SizeX = 595 SizeY = 727 SkipX = 20 SkipY = 20 OffsetX = 0 OffsetY = 45 BoundingBoxX = 595 BoundingBoxY = 822 And would like a diffe...
- Wed, 2018-11-14, 11:32
- Forum: DCMPRINT
- Topic: TCPSrv cannot print Toshiba Asteion
- Replies: 3
- Views: 6926
[SOLVED] Re: TCPSrv cannot print Toshiba Asteion
Finally it worked!. The fix was configuring the CT to NOT TRIM images and use BILINEAR magnification.