Search found 329 matches

by martinrame
Sat, 2019-05-11, 19:09
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 5026

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...
by martinrame
Sat, 2019-05-11, 18:52
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 5026

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 ...
by martinrame
Sat, 2019-05-11, 18:43
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 5026

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...
by martinrame
Sat, 2019-05-11, 18:08
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 5026

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.
by martinrame
Sat, 2019-05-11, 16:58
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 5026

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

I'm using

Code: Select all

storescp v3.6.1 2015-02-17
. I'll try with the latest version.
by martinrame
Sat, 2019-05-11, 00:01
Forum: DCMTK - General
Topic: Mig32-w64 32bit - Undefined reference to winmain
Replies: 3
Views: 908

[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.
by martinrame
Fri, 2019-05-10, 23:55
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 5026

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/leonardo/IM_...
by martinrame
Fri, 2019-05-03, 13:51
Forum: DCMTK - General
Topic: Mig32-w64 32bit - Undefined reference to winmain
Replies: 3
Views: 908

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).
by martinrame
Fri, 2019-05-03, 13:46
Forum: DCMTK - General
Topic: Mig32-w64 32bit - Undefined reference to winmain
Replies: 3
Views: 908

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...
by martinrame
Tue, 2019-04-09, 15:30
Forum: DCMPRINT
Topic: TCPSRV Landscape printing
Replies: 2
Views: 1443

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...
by martinrame
Mon, 2019-04-08, 10:27
Forum: DCMPRINT
Topic: TCPSRV Landscape printing
Replies: 2
Views: 1443

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...
by martinrame
Wed, 2018-11-14, 11:32
Forum: DCMPRINT
Topic: TCPSrv cannot print Toshiba Asteion
Replies: 3
Views: 1727

[SOLVED] Re: TCPSrv cannot print Toshiba Asteion

Finally it worked!. The fix was configuring the CT to NOT TRIM images and use BILINEAR magnification.
by martinrame
Tue, 2018-11-13, 13:22
Forum: DCMPRINT
Topic: TCPSrv cannot print Toshiba Asteion
Replies: 3
Views: 1727

Re: TCPSrv cannot print Toshiba Asteion

When setting IgnoreMagnificationType=NO the error is this: 2018-11-13 09:21:02.998 DEBUG - dcmprint - Assertion Failure 2018-11-13 09:21:02.998 DEBUG - dcmprint - routine : n_create 2018-11-13 09:21:02.998 DEBUG - dcmprint - condition : magnification type invalid 2018-11-13 09:21:02.998 DEBUG - dcmp...
by martinrame
Tue, 2018-11-13, 03:12
Forum: DCMPRINT
Topic: TCPSrv cannot print Toshiba Asteion
Replies: 3
Views: 1727

Re: TCPSrv cannot print Toshiba Asteion

Sorry, I wrote that there isn't an error message from the server side, but clearly is an 0x0112 error in the N-SET Response to the BasicGrayscaleImageBoxSOPClass request.

What can be causing this error?.
by martinrame
Fri, 2018-10-12, 16:25
Forum: DCMPRINT
Topic: TCPSrv cannot print Toshiba Asteion
Replies: 3
Views: 1727

TCPSrv cannot print Toshiba Asteion

Hi, I'm trying to generate Postscript files using TCPSRV (DcmPrint) from Dicom Print files sent from a Toshiba Asteion CT scanner. The debug output I'm getting from tcpsrv is this: D: setting network send timeout to 60 seconds D: setting network receive timeout to 60 seconds D: PDU Type: Associate R...