-
selsta
slave_blocker2: so what are you suggesting? it's not clear for the user that a transaction is being created and it appears hung?
-
slave_blocker2
correct
-
selsta
just trying to figure out if it's a bug or if you are suggesting that it's a bad user experience
-
selsta
can you try a remote node? for example 88.198.199.23:18081 (hosted by me)
-
selsta
I'm curious how long it takes to create a tx with that node
-
slave_blocker2
i am assuming its both
-
selsta
it should not take 20 seconds
-
slave_blocker2
thats not the point
-
slave_blocker2
i always use the cli and not the gui.
-
selsta
??
-
selsta
didn't suggest a gui
-
selsta
I mean can you try the remote node with the CLI wallet to see if it's an issue with your local node
-
slave_blocker2
and whenever i have done a tx in the past after i do transfer addr amount, hit enter it hangs
-
slave_blocker2
for about 20 secs
-
slave_blocker2
and is unresponsive to ctrl+c.
-
nioc
I thought that it was normal that it takes 20 seconds to construct a tx
-
slave_blocker2
in the past when i was using a hdd, it was so bad that i had to try 2 or 3 attempts to make the tx.
-
selsta
mine never take 20 seconds, but maybe that's different if you have hundreds of outputs
-
slave_blocker2
no
-
slave_blocker2
just 2 outputs
-
selsta
and how many inputs?
-
slave_blocker2
just one
-
selsta
well in that case it takes like 1 second on my system
-
selsta
that's why I want you to test a different node so that we can figure out if it's a node or a client issue
-
slave_blocker2
but you are running the monerod and the cli on the same pc?
-
selsta
no
-
slave_blocker2
well i was using two local pcs one with an ssd...
-
moneromooo
If the daemon was just started, it will take a while to gather the histogram of per block rct outs, which the wallet requests to pick fake outs. This might well be what you are seeing.
-
slave_blocker2
hum
-
slave_blocker2
no the daemon is running all the time.
-
moneromooo
If reading off your db is slow, the daemon will take a while. This is heavy operation. You can tell whether this is the reason by attaching gdb to the daemon process: gdb build/.../bin/monerod `pidof monerod`; thread apply all bt
-
slave_blocker2
i dont have xmr now at hand to do the tx im sorry
-
moneromooo
OK, then it's not that. If you try again and it blocks again, try these:
-
moneromooo
top # and check what process is taking CPU or I/O time - likely monerod
-
moneromooo
gdb build/.../bin/monerod `pidof monerod`; thread apply all bt
-
moneromooo
gdb build/.../bin/monero-wallet-cli `pidof monerod`; thread apply all bt
-
moneromooo
The last two will print lots of text, paste to paste.debian.net
-
moneromooo
A snapshot of the top output might also help. For instance if your wa% is high (which means it's busy waiting on disk).
-
slave_blocker2
ok thanks i will try that
-
moneromooo
"sudo perf top" would also be useful for a 20 second delay. Run this right after it starts hanging.
-
moneromooo
If you're on linux only though.
-
slave_blocker2
yes
-
moneromooo
Also paste the perf output to paste.debian.net.
-
slave_blocker2
so what does happen after i do transfer addr amount, hit enter ?
-
moneromooo
If deamon and wallet aren't on the same machine, run it on both.
-
moneromooo
Lots of things!
-
moneromooo
And hte above will help zero in on the thing that's causing you trouble.
-
slave_blocker2
well im checking the cpu monitor on the cli machine and its idle
-
moneromooo
While it's waiting ?
-
slave_blocker2
so i am assuming that the fee is given by the daemon
-
slave_blocker2
yes
-
slave_blocker2
i hit transfer addr amount, and hangs look at monitor in xubuntu seams not doing anything
-
moneromooo
s/waiting/stuck/
-
moneromooo
Then try it on the daemon side.
-
ocb
selsta: sometimes it takes ~2 minutes to construct a transaction for me, this was mostly on old hardware laptops, dual core with 2gb memory. on newer hardware (i7-3xxx) it takes some time to construct the tx ~10-30 seconds, with 1-2 inputs 2 outputs. althought i have not sent a monero transaction for a while so cant remember how was it last time, but im sure its not 1 second, more like 15-20.
-
slave_blocker2
well when it hangs i enter into total dispair the cli could tell me why its waiting
-
slave_blocker2
the user is like huh
-
slave_blocker2
yes the cli is running on a x5460
-
slave_blocker2
the deamon is running on an i3 655
-
slave_blocker2
or something
-
ocb
selsta: it was through cli using remote rpc full node running on 2xE5-2650/64G memory. but i dont mind much, just find it awfully slow when construction transaction on a low resource virtual machine, takes more than 2 minutes. /away
-
slave_blocker2
this is not something that is awfull and bad
-
slave_blocker2
i see it as a poor user experience that probably could be fixed with some new upgrade.
-
selsta
ocb: just tested it with a timer, a sample transaction took ~1 second with my remote node
-
slave_blocker2
like afrter hit transfer addr amount,
-
selsta
so I'm a bit surprised that you regularly see 20 seconds :D
-
slave_blocker2
the user gets info like "gathering fee info"
-
moneromooo
Reticulating splines...
-
slave_blocker2
then "gathering decoys"
-
moneromooo
"Waiting for your incredibly slow disk (what is that, MFM ?)"
-
slave_blocker2
lol
-
slave_blocker2
what
-
moneromooo
Anyway, you might have missed "< moneromooo> Then try it on the daemon side."
-
moneromooo
And do check for I/O load on both.
-
moneromooo
(in addition to CPU load)
-
moneromooo
That's the "wa" column.
-
slave_blocker2
i will copy your commands and try it for next time.
-
moneromooo
OK
-
slave_blocker2
thanks so much
-
slave_blocker2
:)
-
crd716
How's everyone doing?
-
raecarruth
watching crd716 ask redundant questions....
-
crd716
cool
-
Wolf0