Preparing Testnet 5

There are some examples here: https://github.com/maidsafe/sn_api/blob/master/sn_cli/README.md#files-put

1 Like

Yes and yes. And if you want to upload a directory add --recursive.

After upload the command will output the URL of the container which holds the file and a direct URL to the file.

3 Likes

probably already asked somewhere else but, is there any complete test shell scripts we can run and adapt to cover most cases (would be a great short tutorial too)?
tx

1 Like

I have made a start at GitHub - safenetwork-community/dedup-tester: Bash script which uploads a set of standard files to SAFE Network for performance profiling and investigation of deduplication behaviour

Feel free to dive in and help to develop this. The idea is to allow many users to upload a set of standard files which they can use to measure upload performance. Because we are attempting to store many copies of the same data the network should recognise this and deduplicate the files. As time goes on, the download speed for these files should decrease. Very crude first attempts, all help welcome…

For now it runs but is incredibly slow to write to a local baby-fleming network.

willie@leonov:~/projects/maidsafe/T5scripts$ ./std-files-upload-test.sh 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5120k  100 5120k    0     0  4671k      0  0:00:01  0:00:01 --:--:-- 4671k
-rw-rw-r-- 1 willie willie 5242880 Apr 27 01:28 5MB.zip
FilesContainer created at: "safe://hyryyryhr7ue71hwpxugc4h17w63ifj7ou1jdn8woiz7qw9mwpwrgx3uf5cnra"
+  5MB.zip  safe://hyfenryk19m98xnu116cyzrpouw6spk4bzui9zmb8b59gsthffux6mfs1mr 
FilesContainer created at: "safe://hyryyry3cjtp5shpnsgtxbfmm1f3kwypumpaww9dejszw5ec4yrz5frp97anra"
+  md5-5MB.txt  safe://hy8oycyqefc6jwd3kgyxdp1hiut51defj48ftk9pcb85frazdb9bqwig7by 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10.0M  100 10.0M    0     0  7345k      0  0:00:01  0:00:01 --:--:-- 7340k
-rw-rw-r-- 1 willie willie 10485760 Apr 27 01:29 10MB.zip
FilesContainer created at: "safe://hyryyryao53j7k8rqqnbpb81qe4c33tfaegmqtqd8rufd96xp9xhcbnfk1rnra"
+  10MB.zip  safe://hyfenryk3c587oaoy767jkcofptcph4ep7xac374u3fhkm1c6bbpboyz9be 
FilesContainer created at: "safe://hyryyry44grmhtfwguegid1ke6kz4aox5yew6xj9k1h31z8medpyhf499nenra"
+  md5-10MB.txt  safe://hy8oycyqmhjxdgx4togmkebugoy7sy9kqf37qqgrruhm9u4jsbfhas8budh 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 20.0M  100 20.0M    0     0  7798k      0  0:00:02  0:00:02 --:--:-- 7798k
-rw-rw-r-- 1 willie willie 20971520 Apr 27 01:30 20MB.zip
FilesContainer created at: "safe://hyryyryac3bbik8m8p4h6jsayubda5g6kciwxyxao9tfe1bmq7iw75hphghnra"
+  20MB.zip  safe://hyfenrypdkneayzzjmc6y6arfbmpo4hfyhjb4qw6hsyaj4d4ckbhajmcara 
FilesContainer created at: "safe://hyryyrya3s7e1zrgraiz87mxej74se95g7aiy6bcuatad55xoonk1fcc4bynra"
+  md5-20MB.txt  safe://hy8oycyekpn1h3d7yig9g5j4fr5hxq35e3kjkm9qs48p3zbwhhm4m6na8ye 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 50.0M  100 50.0M    0     0  8338k      0  0:00:06  0:00:06 --:--:-- 8485k
-rw-rw-r-- 1 willie willie 52428800 Apr 27 01:33 50MB.zip
FilesContainer created at: "safe://hyryyryakzffepz91adezar6tw9q9gxchu5gcjdyzkjk8z1j6488w8548ocnra"
+  50MB.zip  safe://hyfenrye4e66wc39eg8mexhwqdkunakkr1yx3dt5ntiiuhnaexcseo6cixw 
FilesContainer created at: "safe://hyryyry6wp895yg5oab8kgoq1g8cohj1zabwbeakh6f7o1b8z5jijzn5wgrnra"
+  md5-50MB.txt  safe://hy8oycye9gnrf8xiy1id9eiykbrwfjo5yh7i4my6dn6mzawhu567sstkhzy 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  100M  100  100M    0     0  5835k      0  0:00:17  0:00:17 --:--:-- 8480k
-rw-rw-r-- 1 willie willie 104857600 Apr 27 01:43 100MB.zip
FilesContainer created at: "safe://hyryyryam4oaxpbdgfjo8wop333habrpjoqfsd9s5sj795jzw5s1npgsghanra"
+  100MB.zip  safe://hyfenrycwti1p5gwgjeaub4ym81o9ucd9c6pc4p6ajhejaxnn3rkcxtso5a 
FilesContainer created at: "safe://hyryyry4tjf1nrp7qtjcce473h7db66qj4aitwf6yyeia8gz56wrhfeawwonra"
+  md5-100MB.txt  safe://hy8oycyq4s1tqzen58p9acefctzqt1k4xqgz9tepyr1dkxzr9q6d9geccoc 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  200M  100  200M    0     0  8114k      0  0:00:25  0:00:25 --:--:-- 8461k
-rw-rw-r-- 1 willie willie 209715200 Apr 27 02:16 200MB.zip
4 Likes

For those that are technically savvy (particularly in Linux), I would suggest considering renting a VPS for super cheap and having it available for tests. They make it a lot easier to have high quality, fast connections and are easier to leave running 24x7.

You can go on the “Low End Talk” site where suppliers post deals, and can get some decent specs for ~$30 USD/year a lot of times.

3 Likes

I tried to upload some files, but never success. Could someone please write again command working in Windows Git Bash and where he store that file ?
Thanks

I recommend this thread for dev environments :

safe node status

:+1::+1:

Brand new CLI2GUI in the making, with easy buttons you execute several sequences of commands to the CLI and get response back tot he GUI! It uses React for front-end and a Node Express API to communicate with the CLI.

46 Likes

This looks really cool! Can other people play around with this yet? Would love to give it a try. :sunglasses:

11 Likes

Now something like that could be used to get it out to the masses. Well done :smiley:

10 Likes

That’s an interface I could get used to as a general user @DeusNexus! Looking good

10 Likes

That’s amazing, @DeusNexus!!

10 Likes

Superb!!

Would you consider sharing it at Safenetwork Community · GitHub?

7 Likes

Bravo @DeusNexus that looks great and will really break down barriers for many users :clap:

The obvious suggestion for improvement is to hide the Authd tab and commands to avoid any confusion with the instructions we put out, and to update to safe keys create --test-coins --preload 1000 --for-cli to bypass authd

10 Likes

I want to play with it NOW and use these authd commands for my local baby-fleming nodes

There’s a happy wee slack channel in MaidSafe this afternoon :bowing_man:

13 Likes

Careful now @DeusNexus, they are getting ready to make you an offer that it might be unwise to refuse :slight_smile:

8 Likes

Could the BGF already be running? Seems like this kind of thing needs to be rewarded although none was asked or hinted at this is what BFG is for. Increase participation, get launched faster etc.

14 Likes

Seeing all the work being done here, I would make a change to the title of this topic removing the “for”, i.e. “Preparing Testnet 5”

11 Likes