Pages:
Author

Topic: . - page 4. (Read 39142 times)

legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
March 11, 2013, 08:18:50 PM
I'm tempted to buy a machine with 32 Gigs of RAM. ... ... Maybe those so called "ram drives" (hardware implemented) might be useful.

@Sukrim, I can probably sync the blockchain with another computer that already has it within the network, or just copy the files over. That will save download time.
sr. member
Activity: 403
Merit: 251
March 11, 2013, 01:23:51 PM
Well, in theory it should be possible to let this run on Windows as well... in practice however I've only managed to compile boost and am still fighting with sparsehash as well as openssl and it's dependencies (openssl wants perl for example).

Sparsehash also seems to really not like to be compiled with MingW... Let's see if I give up and just install a VM on my big machine, because my small Linux Atom nettop probably will choke to death on the hash tables. Sad

Another issue with VM's is that:

   a) you're going to have to copy the blockchain over to the VM
   b) blockparser uses mmap'd files extensively. windoze implementation of those is hugely inefficient
   c) blockparser is really I/O intensive (every run gobbles in the full blockchain). This is highly inefficient on VMs


A little test, how long does it take to do "./parser allBalances >allBalances.txt" in VirtualBox
with different amounts of ram assigned to the VM:
(host is win7 64bit, guest Linux Mint 64bit, 8GB physical ram)

1GB   eta 1200000s Shocked
3GB        eta 5000s
6GB         eta 200s, but actually >1500s, slows down alot @50-70%
7GB             850s

As long as the VM can consume more and more ram, blockparser is *very* fast, but I'm
not sure how much is really enough to let the OS buffer all I/O in ram, 32GB perhaps.
legendary
Activity: 2618
Merit: 1007
March 11, 2013, 05:02:30 AM
Windows is not the default OS. It's just, unfortunately the market leader, or the OS with the largest share of users. I'm sure that if I can't dual-boot, I can probably do a Live CD.
Good luck with catching up on the blockchain then... depending on your needs, you're faster to just run the stuff you need on armory-python.

Anyways, doing a closure run brings my poor little nettop to its knees (even with the "smaller" hash maps) - at least after a few hours it didn't show any kind of progress, so I killed the program. 1GB RAM is not cutting it at all apparently.
legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
March 10, 2013, 11:17:48 PM
Windows is not the default OS. It's just, unfortunately the market leader, or the OS with the largest share of users. I'm sure that if I can't dual-boot, I can probably do a Live CD.
mrb
legendary
Activity: 1512
Merit: 1028
March 10, 2013, 09:50:18 PM
No need to reboot.
Just flush the disk cache.
Something along the lines of:
Code:
dd if=/dev/zero bs=1024k count=4096 of=/dev/null
usually does the trick.

This has pretty much no effect on the buffercache (kernel knows /dev/zero does not need caching, and dd will use at most 1MB of resident memory). What will drop it is (as root):

Code:
$ echo 3 >/proc/sys/vm/drop_caches
legendary
Activity: 2618
Merit: 1007
March 10, 2013, 09:09:32 AM
Oh btw. it works/compiles like a charm on Arch Linux, so no worries about needing Ubuntu (you don't even specify which release anyways...).

Now back to solving my Hash160 issues... :-/
legendary
Activity: 2618
Merit: 1007
March 10, 2013, 07:15:04 AM
Hm, could be the case - I didn't reboot between runs + recompilation.
legendary
Activity: 2618
Merit: 1007
March 10, 2013, 04:12:44 AM
Oh, and for some measurements:

With larger hash maps: SimpleStats in ~850s
With smaller hash maps (WANT_DENSE commented out): SimpleStats in ~350s

Still a lot of time, but not too shabby for a little atom machine.
legendary
Activity: 2618
Merit: 1007
March 09, 2013, 03:29:03 PM
Nope, as I would do the feats that were attributed to a brave Linux hacker as a Windows user, not as a Linux user. Anyways, this is actually besides the point.

The issue that transactions that spend from two addresses do not 100% mean that these addresses are controlled by the same person or entity is something more interesting than whether I manage to compile OpenSSL etc. under Windows.

Especially that constant cries to import private keys here and there might make it tough in the future to even analyze transactions at all.
I also can't think of any 100% sure ways to overcome this problem of people sharing inputs to fool software like this - maybe creating address pools and then looking for suspicious overlaps might be a solution. E.g. 500 transactions each in 2 sets of coupled addresses, then suddenly for a single transaction they bond (even though the "simulated wallet" containing both sets would contain better fitting outputs?) and then they start transacting on their own again never mixing coins... Also transaction timestamps could give indications about users (and adding a second set that has so far completely different transaction patterns might indicate someone trying to mix coins).
legendary
Activity: 1652
Merit: 1016
March 09, 2013, 09:51:20 AM
Ok, let's blame AMDand nVidia! Evil you! You really should support Linux better!
Great to have done this, I guess that changes now everything...
Huh



Correct me if I'm wrong, but don't these two quotes listed below contradict each other?

I am also a Linux user and I never got my head down, knuckled down and tried to find a way around the problem - I simply installed a Windows VM or native machine and ran the program in it's intended OS.

Anyways, there IS already the possibility to compile and run this software under Windows and as soon as I manage to compile it, I'll maybe even share the binary (for a hefty fee perhaps to cover my time).
staff
Activity: 4284
Merit: 8808
March 09, 2013, 08:37:14 AM
Ah, and since he changed this back— I suppose I should point this out here:

This forum should have a red or orange warning box on the top of each topic (placeable by mods, admins & devs only) to warn people of scams and events such as this.
I don't think it rises to that level of concern. I apologize if I came off sounding like it was that urgent.  It's not. In this case I wanted to throw out a caveat emptor because I thought it was odd... but really caveat emptor is generally good advice.   If it were something like I thought that the software would cause you to lose coin or something I would have made it a _lot_ more obvious.
legendary
Activity: 1470
Merit: 1006
Bringing Legendary Har® to you since 1952
March 09, 2013, 08:33:17 AM
After interacting with znort987 on IRC I'd advise being very careful in using this software double check any results that you get from it.

I pointed out that he was making some (theoretically and practically) minorly incorrect claims about the analysis this tool produced and his response was confused first failing on technically grounds and then after the technical misunderstand was made clear he became uncivil— calling me and other folks names and such— quite bizarre. While its obviously useful, it's written by someone who apparently hasn't done your thinking for you, so you need to think for yourself.

This forum should have a red or orange warning box on the top of each topic (placeable by mods, admins & devs only) to warn people of scams and events such as this.

What do you think ?
sr. member
Activity: 463
Merit: 252
March 09, 2013, 08:16:20 AM
After interacting with znort987 on IRC I'd advise being very careful in using this software double check any results that you get from it.

I pointed out that he was making some (theoretically and practically) minorly incorrect claims about the analysis this tool produced and his response was confused first failing on technically grounds and then after the technical misunderstand was made clear he became uncivil— calling me and other folks names and such— quite bizarre. While its obviously useful, it's written by someone who apparently hasn't done your thinking for you, so you need to think for yourself.


I can confirm this.
staff
Activity: 4284
Merit: 8808
March 09, 2013, 08:13:25 AM
After interacting with znort987 on IRC I'd advise being very careful in using this software double check any results that you get from it.

I pointed out that he was making some (theoretically and practically) minorly incorrect claims about the analysis this tool produced and his response was confused first failing on technically grounds and then after the technical misunderstand was made clear he became uncivil— calling me and other folks names and such— quite bizarre. While its obviously useful, it's written by someone who apparently hasn't done your thinking for you, so you need to think for yourself.
legendary
Activity: 2618
Merit: 1007
March 09, 2013, 05:41:42 AM
To deal with crappy retarded GPU drivers and UI in Linux? Roll Eyes No thanks, sir...
The manufacturers make the drivers, blame them.
Ok, let's blame AMDand nVidia! Evil you! You really should support Linux better!
Great to have done this, I guess that changes now everything...

I am also a Linux user and I never got my head down, knuckled down and tried to find a way around the problem - I simply installed a Windows VM or native machine and ran the program in it's intended OS. Please refrain from generalizing, I bet if you wrote this statement in a Linux heavy forum replacing Windows with Ubuntu and Linux with Gentoo it would also be in line there... especially taking into consideration that this software is said to only support 64 bit Ubuntu.

Anyways, there IS already the possibility to compile and run this software under Windows and as soon as I manage to compile it, I'll maybe even share the binary (for a hefty fee perhaps to cover my time). If this doesn't work, well - having a result in 3 minutes instead of one vs. having no result at all would still be an improvement, right?
legendary
Activity: 1652
Merit: 1016
March 09, 2013, 04:07:03 AM
To deal with crappy retarded GPU drivers and UI in Linux? Roll Eyes No thanks, sir...
The manufacturers make the drivers, blame them. Linux is more than capable of running most hardware.
Who wants to dance and jump about to Bill Gates tune? Playing the game by his rules, his way, at his (expensive) price.  Roll Eyes No thanks, sir...

Unfortunately for me, that's not a practical thing to do. I could dual-boot to experiment with it, but eventually I'd have to go back to my crappy OS. Thus my question.
You could install a virtualization software package, like Virtual Box and install Linux inside that. That's assuming your hardware can take the extra load of course.



How come (and this isn't directed at anyone in particular) when a Linux user needs a program that only runs on Windows, he/she gets their head down, knuckles down and finds way around the problem. But on the other hand when a Windows user needs a program that only runs on Linux, there's a huge uproar, and expects everyone else to adjust to them? It's as if they assume Windows is the default system and everyone must whistle their tune.
legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
March 08, 2013, 10:02:31 PM
I guess I am asking too much, in the same way that a request to get rid of crappy OSes is also asking too much. Depends on who you talk to, if it's one individual, it is reasonable to ask them to switch OS, if you are talking to a corporation with hundreds of deployed crappy OS machines, that might be asking too much.

However, I do have the option to run Linux on my personal machine, so unless Windows gets improved (either the mmap implementation or the parser itself), then that's the route to take, for now. My guess is that, since this is a specialized tool, you really should use it on dedicated machines that are not being used for other crappy OS stuff.

Unfortunately for me, that's not a practical thing to do. I could dual-boot to experiment with it, but eventually I'd have to go back to my crappy OS. Thus my question.
legendary
Activity: 2618
Merit: 1007
March 08, 2013, 07:21:44 AM
To deal with crappy retarded GPU drivers and UI in Linux? Roll Eyes No thanks, sir...

Anyways, in theory it should(TM) be possible already to compile + run this parser for Windows. It's not znort987's resposibility to actually provide the means to do so, especially since he doesn't want to do it. It would be nice of him if somebody manages to actually come up with a solution how to do it, to integrate some minor patches (as far as I see it from the code, the blockchain location is hardcoded for example - having a setting for Windows or even Linux users there might be nice) and the actual way to do it, but even that is not his job at all (and you simply could just fork his project after all).

The code is public domain and uses OpenSource libraries. Either invest the time to compile that stuff yourself or pay somebody to do it for you. If mmap implementations on Windows are really that slow, you can also improve them, since this project is built on OpenSource software. Again, either by yourself or somebody you pay to do that.
legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
March 07, 2013, 09:26:19 PM
Maybe there is a way to implement this differently so it doesn't use mmap files? Or windoze implementation could be improved? Or I'm asking too much?

If I had the ram, maybe blockparser could do it all in ram? Or I can try using a ram drive?
legendary
Activity: 2618
Merit: 1007
March 06, 2013, 09:26:47 PM
Well, in theory it should be possible to let this run on Windows as well... in practice however I've only managed to compile boost and am still fighting with sparsehash as well as openssl and it's dependencies (openssl wants perl for example).

Sparsehash also seems to really not like to be compiled with MingW... Let's see if I give up and just install a VM on my big machine, because my small Linux Atom nettop probably will choke to death on the hash tables. Sad
Pages:
Jump to: