MOTHBALLED-graphviz icon indicating copy to clipboard operation
MOTHBALLED-graphviz copied to clipboard

dot.exe doesn't finish

Open helperman opened this issue 7 years ago • 6 comments

I use such a command to create a graph: "C:\Program Files (x86)\Graphviz 2.41.20170804.1243\bin\dot.exe" -Tsvg -O -Kdot "C:\graph\inputBeta.graphviz"

Here is the input file: https://drive.google.com/open?id=0B0qHye1mDIyyZnFhcGVmYURDeG8

The issue is that dot.exe runs many hours and never ends... Here is what I'm watching now during 1-2 hours: http://storage3.static.itmages.ru/i/17/0807/h_1502127267_1893755_8b4f31d086.png

CPU utilization is full core: http://storage8.static.itmages.ru/i/17/0807/h_1502127459_4232473_7fb3ae81fa.png

I try fdp.exe (sfdp.exe) and it gives the same issue. Input file is not so heavy (~5500 lines). The result is the same with 2.38 stable version and new beta versions (2.41.20170804.1243).

helperman avatar Aug 07 '17 17:08 helperman

This command takes less than two minutes on this machine, a MacBook. $ time dot -v input.graphviz -o x0 … Using render: dot:core Using device: dot:dot:core gvRenderJobs %3: 97.23 secs.

real 1m50.13s user 1m43.97s sys 0m1.37s $

Its memory usage was relatively modest.

Possibly you can run dot -v to see where its progress has slowed or stopped?

On Aug 7, 2017, at 1:38 PM, helperman [email protected] wrote:

I use such a command to create a graph: "C:\Program Files (x86)\Graphviz 2.41.20170804.1243\bin\dot.exe" -Tsvg -O -Kdot "C:\graph\inputBeta.graphviz"

Here is the input file: https://drive.google.com/open?id=0B0qHye1mDIyyZnFhcGVmYURDeG8 https://drive.google.com/open?id=0B0qHye1mDIyyZnFhcGVmYURDeG8 The issue is that dot.exe runs many hours and never ends... Here is what I'm watching now during 1-2 hours: http://storage3.static.itmages.ru/i/17/0807/h_1502127267_1893755_8b4f31d086.png http://storage3.static.itmages.ru/i/17/0807/h_1502127267_1893755_8b4f31d086.png CPU utilization is full core: http://storage8.static.itmages.ru/i/17/0807/h_1502127459_4232473_7fb3ae81fa.png http://storage8.static.itmages.ru/i/17/0807/h_1502127459_4232473_7fb3ae81fa.png I try fdp.exe (sfdp.exe) and it gives the same issue. Input file is not so heavy (~5500 lines). The result is the same with 2.38 stable version and new beta versions (2.41.20170804.1243).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ellson/graphviz/issues/1265, or mute the thread https://github.com/notifications/unsubscribe-auth/ACtWz0P50NqTEUIUAt_zZJqcNMbXrSZ2ks5sV0uKgaJpZM4Ovu5G.

magneticnorth avatar Aug 07 '17 18:08 magneticnorth

Unfortunately, I'm unable to understand the output. Here is what it gives me with -v: http://storage5.static.itmages.ru/i/17/0807/h_1502130712_7529034_c78179cdf8.png

I'll try to find another OS to use graphviz in future, thanks. May you give me the result graph?

helperman avatar Aug 07 '17 18:08 helperman

May you give me the result graph?

The graphviz raw output can be found at: https://drive.google.com/open?id=0B7UI3ubXXwXtMG84MmxPajZlQ2c

It was rendered into pdf via neato -Tpdf -Gsize=“6,6” -n2 x -o x.pdf which can be found at: https://drive.google.com/open?id=0B7UI3ubXXwXtM2xkMVlPNkRJWmM

The layout is not readable - it is too long and skinny. You can also try sfdp. This is what you get: https://drive.google.com/open?id=0B7UI3ubXXwXtbnd0QUtwbzRJR0U https://drive.google.com/open?id=0B7UI3ubXXwXtbnd0QUtwbzRJR0U

You can see a lot of hub-spoke subgraphs.

magneticnorth avatar Aug 07 '17 19:08 magneticnorth

What is the CPU speed on your macbook? When I run dot on that graph on my iMac (2.0 GHz, 8 GB ram), the node positioning is still running after 20 minutes.

emden avatar Aug 07 '17 19:08 emden

Oh, umm, I have the 2000GHz i7 model from 2013.

Seriously, I did something wrong, I think I downloaded several graphs and didn’t realize it. I will retry. Ignore previous messages.

On Aug 7, 2017, at 3:56 PM, emden [email protected] wrote:

What is the CPU speed on your macbook? When I run dot on that graph on my iMac (2.0 GHz, 8 GB ram), the node positioning is still running after 20 minutes.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ellson/graphviz/issues/1265#issuecomment-320763814, or mute the thread https://github.com/notifications/unsubscribe-auth/ABatMLh0paiGqhcBLmal8JXYcbolTm6Vks5sV2vegaJpZM4Ovu5G.

graphviz avatar Aug 07 '17 20:08 graphviz

sfdp takes only about 5 seconds, including pdf generation.

On Aug 7, 2017, at 3:56 PM, emden [email protected] wrote:

What is the CPU speed on your macbook? When I run dot on that graph on my iMac (2.0 GHz, 8 GB ram), the node positioning is still running after 20 minutes.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ellson/graphviz/issues/1265#issuecomment-320763814, or mute the thread https://github.com/notifications/unsubscribe-auth/ABatMLh0paiGqhcBLmal8JXYcbolTm6Vks5sV2vegaJpZM4Ovu5G.

graphviz avatar Aug 07 '17 20:08 graphviz