Linux Plotting/mining
-
@Xander52 whats the error...
-
@Xander52 no root permissions need, opening which file and how?
paste command & error pls
-
@damncourier one second xrdp crashed and I am having trouble getting it to come back
-
@Xander52 hrrmmm assuming headless, ssh should do the trick
-
@damncourier @manfromafar Error opening file /home/Xander52/Burst/Burst/68_0_104000_8000 (its possible I did not mount my drive correctly let me try something on system disk)
EDIT:Even on system disk it has that error
-
@damncourier Yeah I guess but I wanted that back I have some stuff that only runs in GUI on that machine
-
not to be too obvious but a ls -lah of the directory and the command issued might help us
-
@damncourier
ls -lah
total 0
drwxrwxrwx+ 2 root root 0 May 8 12:08 .
drwxrwxrwx+ 4 root root 0 Apr 30 18:23 ..Command is ./plot -k (public key) -x 1 -d /home/Xander52/Burst/Burst -s 0 -n 100000 -m 8000 -t 14 -a
-
@Xander52 hrmmm i'm lost
the + on the end of permissions hits me as strange
curious, what is the filesystem type?
-
@damncourier ext4
-
@damncourier Or that drive I think is ntfs
-
@Xander52 personally haven't messed with ntfs extensions in awhile
have you tried on ext4?
-
@damncourier oh no its ext4
-
maybe check the dmesg for shits and giggles, sorry clutching at straws
-
-
@damncourier I might just run my gaming machine on xplotter while I sleep (or I guess I could partition and install windows)(
-
yeah sorry, usually only thing needed is 64 bit linux
don't know enough about c but assume one of the permissions on open function is failing
ofd = open(name, O_CREAT | O_LARGEFILE | O_WRONLY, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); if(ofd < 0) { printf("Error opening file %s\n", name); exit(0); }
-
@damncourier Nah its fine no big deal I will probably just install windows
-
Just finished unix/darwin plotter to work same way as XPlotter does: produce fully optimized plots directly. It requires super user rights to prealloc file without filling it zeroes. It is some kind of unsafe, because software may have access to old deleted files. But in case of plotter I think it is not a problem.
You can download and try from this branch:
https://github.com/k06a/mjminer/tree/fix/optimizeHere is my PR to original repo:
https://github.com/r-majere/mjminer/pull/4I've tried it only on macOS, you can help me to test it on linux.
My MacBook Pro Retina 15" Mid 2015 (2,2 GHz Intel Core i7) with AVX2 core:
$ sudo time ./plot -k 1893347256907199281 -x 2 -d /Volumes/HDD1 -n 3801088 -s 0 -m 16384 -t 8 Using AVX2 core. Total generation steps: 464 Creating plots for nonces 0 to 3801088 (997 GB) using 4096 MB memory and 8 threads Using fcntl::F_SETSIZE to expand file size to 950272GB 35.13% Percent done. 10302 nonces/minute, 4:00 leftproduces 996GB plot:
1893347256907199281_0_3801088_3801088
-
@k06a thanks for writing this and sharing this!
testing on ubuntu seems good
beckett@monster:~/bc/plotter/mjminer-fix-optimize$ uname -a Linux monster 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux beckett@monster:~/bc/plotter/mjminer-fix-optimize$ ./plot -k 6741243138549807594 -x 2 -s 5000000000 -n 139264 Using AVX2 core. Total generation steps: 12 Creating plots for nonces 5000000000 to 5000139260 (36 GB) using 5802 MB memory and 4 threads Using ftruncate to expand file size to 34815GB 100.00% Percent done. 5465 nonces/minute, 0:02 left Finished plotting. beckett@monster:~/bc/plotter/mjminer-fix-optimize$ ls -lah plots/ total 34G drwxr--r-- 2 beckett beckett 4.0K Jun 9 06:14 . drwxrwxr-x 3 beckett beckett 4.0K Jun 9 05:52 .. -rw-r--r-- 1 beckett beckett 34G Jun 9 06:41 6741243138549807594_5000000000_139260_139260haven't used a miner on the plot yet but it looks good to me!
also will provide testing under debian

