Support Issues with Baby Fleming Version 1 (Vaults Phase 2a - single-section network)

Slight update:
I rebuilt the latest CLI from master with the standard timeout of 60secs.
I can confirm the account creation and login processes are much faster and have yet to have a failure on either.
I need to do further testing but it seems a little faster to put a file.

willie@sputnik:~/projects/maidsafe/safe-api/target/release$ time safe files put /tmp/rand.dat 
FilesContainer created at: "safe://hnyynyi4t7c9xsgyzk1m9kyssqcqpb3z41h8o79e6jm4sm7ibdeh5d1icabnc"
+  /tmp/rand.dat  safe://hbkyyonzb9cqfjji8r8xoa9fcm5obkps59fce6w9ie57kz93s77yz4h4bc 

real	0m53.904s
user	0m0.397s
sys	0m0.074s
willie@sputnik:~/projects/maidsafe/safe-api/target/release$ ls -l /tmp/rand.dat
-rw-r--r-- 1 willie willie 1650688 Mar 11 12:02 /tmp/rand.dat

This time round I set the no of 1k blocks to 1612 in my attempt to find the largest file I could put with this laptop.

willie@sputnik:~/projects/maidsafe/safe-api/target/release$ dd if=/dev/urandom of=/tmp/rand.dat bs=1k count=1612
1612+0 records in
1612+0 records out
1650688 bytes (1.7 MB, 1.6 MiB) copied, 0.0153625 s, 107 MB/s
7 Likes

Baby Fleming update

I have updated the OP with the following:

**UPDATE** - we have now released the first [v0.17.0 Alpha Desktop Browser](https://github.com/maidsafe/safe_browser/releases) version which is compatible with Baby Fleming!

Launching your current Alpha Browser will automatically prompt you to update, or you can download the latest Alpha version from [here](https://github.com/maidsafe/safe_browser/releases)

Note that ONLY v0.17.0 (Alpha, Beta and full release) and above is compatible with Baby Fleming. v0.17.0 is NOT compatible with vaults Phase 1, i.e. the current Shared Vault - if you intend to use the Shared Vault then please use [Browser v0.16.0](https://github.com/maidsafe/safe_browser/releases/tag/v0.16.0).

We’ve tested this internally on macOS so far and all appears to be working as expected. Give it a go and let us know if you find any problems!

Note that this new Alpha v 0.17.0 IS NOT compatible with the current single Shared Vault from Vaults Phase 1, this is for use with the single section testnet only, aka Baby Fleming/Vaults Phase 2a.
We did release a full v0.16.0 Browser this morning for use with the Shared Vault - you can find this here if you want to use the Shared Vault.

18 Likes

Performance on a 1.7Mb file is random. Sometimes it works fine, sometimes its slow and on the fourth run it just timed out

 willie@sputnik:~/projects/maidsafe/safe-api/target/release$ dd if=/dev/urandom of=/tmp/rand.dat bs=1k count=1612
    1612+0 records in
    1612+0 records out
    1650688 bytes (1.7 MB, 1.6 MiB) copied, 0.0162145 s, 102 MB/s
    willie@sputnik:~/projects/maidsafe/safe-api/target/release$ time safe files put /tmp/rand.dat 
    FilesContainer created at: "safe://hnyynywrhbb8cajh8u9ir457s7qhi8ygx78fqtrnhyos8icpu4sq8mhe8wbnc"
    +  /tmp/rand.dat  safe://hbkyyonncsougp7kofmecddj8hjez8pit33u6rx8zweze8atkquqhgcrqe 

    real	3m28.733s
    user	0m0.374s
    sys	0m0.070s
    willie@sputnik:~/projects/maidsafe/safe-api/target/release$ time safe files put /tmp/rand.dat 
    FilesContainer created at: "safe://hnyynyixnbtksge58yc4m58w4c5aq14i1bn5une8bfzhqzare47zydqge1bnc"
    +  /tmp/rand.dat  safe://hbkyyonncsougp7kofmecddj8hjez8pit33u6rx8zweze8atkquqhgcrqe 

    real	1m23.098s
    user	0m0.352s
    sys	0m0.076s
    willie@sputnik:~/projects/maidsafe/safe-api/target/release$ time safe files put /tmp/rand.dat 
    FilesContainer created at: "safe://hnyynysu1x3tsuwucqne6iewyxefwyu1qszpp13w3epzty4zddxnrscn5sbnc"
    +  /tmp/rand.dat  safe://hbkyyonncsougp7kofmecddj8hjez8pit33u6rx8zweze8atkquqhgcrqe 

    real	0m53.801s
    user	0m0.353s
    sys	0m0.069s
    willie@sputnik:~/projects/maidsafe/safe-api/target/release$ time safe files put /tmp/rand.dat 
    [2020-03-11T13:21:28Z ERROR safe] safe-cli error: [Error] NetDataError - Failed to PUT Sequenced Append Only Data: Error(CoreError(Request has timed out - CoreError::RequestTimeout))

    real	6m42.966s
    user	0m0.357s
    sys	0m0.096s
    willie@sputnik:~/projects/maidsafe/safe-api/target/release$ safe vault killall
    Success, all processes instances of safe_vault were stopped!

EDIT: trying again with different test data of the same size

willie@sputnik:~/projects/maidsafe/safe-api/target/release$ for i in 1 2 3 4 5 6; do dd if=/dev/urandom of=/tmp/rand.dat bs=1k count=1612; time safe files put /tmp/rand.dat; done
1612+0 records in
1612+0 records out
1650688 bytes (1.7 MB, 1.6 MiB) copied, 0.0407925 s, 40.5 MB/s
FilesContainer created at: "safe://hnyynyw5791zunygowkspd9jaaa3qwi8p6xjy87ji4amyimke6goykek4ybnc"
+  /tmp/rand.dat  safe://hbkyyod4cyns8z8o1nbed9g3qjkt1g6ktei3w7g6xynh7wesee5wq59x9d 

real	0m47.529s
user	0m0.361s
sys	0m0.064s
1612+0 records in
1612+0 records out
1650688 bytes (1.7 MB, 1.6 MiB) copied, 0.0147024 s, 112 MB/s
FilesContainer created at: "safe://hnyynyzn1gw1493z1edk6ddf19n7keo9nts8krn3kjms8sqzjj5hzqkojqbnc"
+  /tmp/rand.dat  safe://hbkyyodgxipuqo9jgweubdpuzxdxkzupmj5c6ch9xrkxiaicjpuhcct656 

real	1m13.752s
user	0m0.347s
sys	0m0.087s
1612+0 records in
1612+0 records out
1650688 bytes (1.7 MB, 1.6 MiB) copied, 0.0173103 s, 95.4 MB/s
FilesContainer created at: "safe://hnyynyzjo5g5enwfjrdseiku3ooj5bezak5iawcqa9idcrs1xdyukjwprnbnc"
+  /tmp/rand.dat  safe://hbkyyon58tj9d3ohpp6zom7gscfnmfa3xa4fhf7f1ppcqfxye461okxej3 

real	2m11.281s
user	0m0.356s
sys	0m0.096s
1612+0 records in
1612+0 records out
1650688 bytes (1.7 MB, 1.6 MiB) copied, 0.0131708 s, 125 MB/s
FilesContainer created at: "safe://hnyynysdf4onnbpqjyry6khp6s81rp3i9yphsb5rpbps4seqjzzorbchxobnc"
+  /tmp/rand.dat  safe://hbkyyon16u6w6ikgpxu566jzibhxig66grf94cmaab8dfo75whxc8wxekq 

real	1m41.019s
user	0m0.379s
sys	0m0.091s
1612+0 records in
1612+0 records out
1650688 bytes (1.7 MB, 1.6 MiB) copied, 0.0132232 s, 125 MB/s
FilesContainer created at: "safe://hnyynyi1ixntc4m8msjhpoxnzau6odp6r5eyddt6g66j1k4rkhe34tw3eqbnc"
+  /tmp/rand.dat  safe://hbkyyody49dtm574micwscgpkm9h385hxx8bet7eqo53azm698qre5tgi4 

real	1m28.365s
user	0m0.350s
sys	0m0.086s
1612+0 records in
1612+0 records out
1650688 bytes (1.7 MB, 1.6 MiB) copied, 0.0130252 s, 127 MB/s
FilesContainer created at: "safe://hnyynyzynctcqyt89ew3fzmfqutrmubewtf4kqjs5uq71qcrab3exauoj1bnc"
+  /tmp/rand.dat  safe://hbkyyodcd1rsrgt3st76eko58mapcuyrpeijg6qm6p8djrmsxpn6r6mx55 

real	1m2.815s
user	0m0.368s
sys	0m0.063s
willie@sputnik:~/projects/maidsafe/safe-api/target/release$

so an average of 84 secs to put a 1.7MB file of random data but with considrable variation. Long long time since I did std deviations and stuff but the sample size is (as yet) too small for that to make much sense.

2 Likes

It’s this compatible with the shared vault as well?

1 Like

No, the new version of the browser is NOT compatible with the shared vault. I’ll update the OP & my post to make that clear.

If you want to use the shared vault then use Browser v0.16.0, which was also released earlier today.

6 Likes

Just to check, is Browser v0.16.0 compatible with the latest versions of the CLI and safe-authd too?

2 Likes

Yes, Browser v0.16.0 and v0.17.0-alpha.0 are both compatible with the CLI v0.9.0 and safe-authd v0.0.5

UPDATE - CLI 0.9.0 and authd 0.0.5 are only compatible with Baby Fleming, and only Browser versions 0.17.0 and above will work with Baby Fleming. If you want to access the Shared Vault then you should use the previous versions of the CLI and authd, along with v0.16.0 of the Browser

6 Likes

Thanks - I’ll update the ‘Latest versions’ post.

8 Likes

I uploaded this one page site to my local Baby Fleming and viewed it with the v0.17 browser

17 Likes

Actually @JPL I’ve just been discussing with @bochaco and he believes that CLI v0.9.0 and authd v0.0.5 will not be compatible with the Shared Vault, so through association this means that they therefore can’t be used anywhere that you can access with any Browser version less than v0.17.0. Apologies for any confusion.

PS I just tested & verified that I can’t log into or create an account on the Shared Vault using CLI 0.9.0 and authd v0.0.5

5 Likes

Ah OK - which versions should be used with shared vault then?

1 Like

Also on Windows

By the way, my Sites history (ie list of sites I uploaded) is still carried over from the shared vaults even with the new browser and baby-fleming. Where is that information stored?

6 Likes

Anyone wanting to continue using the Shared Vault should be using:

6 Likes

That’s stored in local storage currently that’s why your new browser still finds them, eventually we’ll be able to again store them on the network as part of your account’s data as we used to have it before.

3 Likes

Thanks @bochaco - can you tell me the location in Windows?

1 Like

It’s stored in electron’s app dir:

 `appData` Per-user application data directory, which by default points to:
* `%APPDATA%` on Windows
* `$XDG_CONFIG_HOME` or `~/.config` on Linux
* `~/Library/Application Support` on macOS

followed by the app name (SAFE Browser in this case)

1 Like

So it is. I was looking in the Appdata Maidsafe folder. Thanks

3 Likes

Guys I understand that the network is currently uploading small files, but it seems kind of sluggish. I assume that is why it is called baby fleming, it cant crawl nor run :smile:

I would like to hear from you experts, what your overal idea is on the Baby Fleming after a week of testing.

Looking forward to hear your opinions!

3 Likes

Next iteration very soon. This tested a suspicion we had about a delay in write consensus so we can move on. Expect a lot of iterations

15 Likes

It would be good to get some testing guidelines.

Am I wasting my time reporting results from one run only?
Should I do a minimum of n test runs with different random data but constant input file size ?
Should I put any more effort into correcting and extending my wee test script? run-new-network.sh

5 Likes