SAFE Network Dev Update - March 26, 2020

@Toivo can you please confirm which version of CLI you have? you can do this with safe -V, if you don’t have the latest v0.11.0 please re-install CLI as described here: https://github.com/maidsafe/safe-api/tree/master/safe-cli#download, you shouldn’t need to install any ssl lib. Can you also confirm which platform/OS you are using?

3 Likes

Hi @Southside

Thanks for all the testing and the insights. At the moment, I’m looking into this particular issue of safe key not being found sometimes.
Before we look into this further, I’d like to confirm that once you start baby fleming you are waiting for some time (atleast ~5-10 ) seconds before you run the commands?

This is just to allow the vaults to from a section before we start sending requests. I’ve been trying locally and I can’t reproduce this yet.

5 Likes

Generally I start baby-fleming from my wee script so its pretty instant.
I will insert a sleep 10 or something to let everything start up and get its act together before I run the create-acc --test-coins line.

These last errors I posted re the wallets were from a section that had been running for over 48 hours as I had a mega- run of 50k iterations of 3k random data running at the same time. I’ll post the results for that once I get a chance to look at them and confirm it all ran without errors.

Do you want me to start the vaults with the -y switch? I had removed this after the first few runs as I was looking to get an idea of real-world experience, not slow it down with extra logging. I will add the option to start with -y to the script anyway.

2 Likes

Sorted out a few issues in change-nappies/run-new-network.sh at master · willief/change-nappies · GitHub and it should work correctly now with an option for enhanced logging and a delay to let the network settle after start up.

2 Likes

Please, SAFE , we need you more than ever! The truth must prevail, we can´t live with misinformation, media control and censorship anymore!

I believe it will be SAFE

1 Like

Yes indeed. See what we have to deal with in Scotland with an unremittingly hostile so-called “free” press and a media so tightly state-controlled that you would consider a 1930s edition of Pravda to be a beacon of freedom.
https://wingsoverscotland.com/the-accused-and-the-accusers/

2 Likes

Well, this command gives the same error. I downloaded the version from the link in this Dev Update for those who have never had any CLI in their system:

@toivo would you consider installing AnyDesk on that laptop?

Naturally I would want you to send the connection info via PM. DO NOT post it here

This is a potential invasion of your privacy and I would not be in the slightest put out if you said no to this.

But I’m really curious as to what is (not) going on here. If I understand you correctly this is an old laptop, not used for anything else, yes?

@Toivo It’s not clear to me how you are installing it, can you please try to install it with running the following from a console:
curl -so- https://safe-api.s3.amazonaws.com/install.sh | bash

Unless that’s what you’ve done already?
You can otherwise download the CLI binary yourself (note this is the CLI not the install script) from the bottom of this page: https://github.com/maidsafe/safe-api/releases/latest for the platform you are using.

2 Likes

@Toivo it might be worth reporting the output from:

which safe

and

ls -l `which safe`

Note: the use of back ticks around which safe

2 Likes

The back tick ` is totally different from the single inverted comma ’

On a UK keyboard it is to the left of the “1”. I have no idea where it is on your keyboard.

1 Like

That’s what I did.

I’ll try the tips of others another day, now off to sleep.

Oh yeah, and I’m on Ubuntu 16.04 LTS.

4 Likes

A quick peak at the logs of my 50,000 iterations of putting 3k of random data to the network showed only 7 failures with times ranging from 0.57 to 9.98 seconds with one outlier at 30.76 secs. How useful this data will be is debatable cos I actually forgot this job was running and as a result the box was under some pretty heavy use for other stuff - flight sim (flightgear.org - check it out) and Kerbal Space Program as well as some rendering in blender and gimp work. But still we can (fairly ) reliably put a large no of small files to the network.
It slowed up as it went on though, the last 1000 runs are very nearly all in the 2-3s range while the first 1000 are almost totally without exception well under 1 sec - apart from aforementioned outlier.

The logs raw output and condensed csv format are at GitHub - willief/change-nappies: wee script to run new baby Fleming network if anyone thinks they are worthy of further investigation. I also have the actual vault logs totalling 11.9Mb, I wont delete these just yet in case @joshuef @lionel.faber @StephenC @bochaco et al think they may be of interest.
Do you guys want me to try a similar run on the laptop where I can just let it do its stuff without interruption from other use? Somehow I don’t think me and this laptop are going to too many meetings over the next few days…

8 Likes

Earlier I ran five parallel recursive uploads for 1000 x 10k files but it just worked!.. couldn’t see any errors. I expect there must be a point of brute forcing that baby will squeal, just like any other application might do. I suppose all we can hope, is that in such case it is caught and noted back to the user. I’ve logged an issue to suggest that recursive could do with real time reporting, rather than dumping only all at the end.

6 Likes

toivo@toivo-HP-ProBook-450-G5:~$ which safe
/home/toivo/.safe/cli/safe

toivo@toivo-HP-ProBook-450-G5:~$ ls -l which safe
-rwxr-xr-x 1 toivo toivo 26824936 maali 26 17:12 /home/toivo/.safe/cli/safe

2 Likes

Hi Southside. Can you help us non techies out a bit. What do you think of Baby Fleming from what you have encountered

1 Like

Yeah, this is a wording tweak, rather than a flow change I think. We need to instill in people the permanence of the operation they are instigating, but still offer a safety net—the 5 second undo window—where we can, just in case of a button fumble etc.

It will cost a very small amount yes. But we are going to need to tune when and where these indicators/dialogs are shown, as it might get a little fatiguing if they are always interrupting the flow.

We have the componentry designed which is the important thing, and they can be deployed when we learn more about the cost, and user tolerance to levels of expense, closer to launch.

If you check out the feature status board, you’ll also see we have spending limits and thresholds (both global and on individual PUTs) planned to help in this regard, but they are not considered part of the Minimum Viable Experience (MVE).

For the most part, ‘moving’ data won’t really be moving anything, just putting an entry in an index, so the cost would be trivially small.

3 Likes

Like a lot of things we use. Cars, devices running off disposable batteries and so on.

We fill the car up with Petrol (gas for americans) and rarely worry about starting the car thinking I am using petrol at so many mL per second/minute. We simply keep an eye on the gauge every so often (or at least most do) and not worry so much about the fractions being used along the way.

We need to somehow create that atmosphere where we know usage means using up a resource that needs to be topped up or replaced when used up. Our society understands that from kids using batteries in our toys to adults using petrol in our cars.

The more its used the faster we need to replenish the tank.

9 Likes

Thanks for the results @Southside. I’ll take a look at it.

We might not need this right now. We’ve been working on something else for you guys to try out.
Details coming soon :slight_smile:

4 Likes

By the way, this has a perfect explanation :slight_smile:
What must’ve happened here is that the Client would’ve failed to bootstrap to the section.
We wait for 30 seconds before trying to bootstrap again and it would’ve succeeded the second time and uploaded the file in .76 seconds.

4 Likes