and if you get that far can you run these commands please - I’m looking at another potential issue/unexpected behavior
safe keys show --show-sk
safe keys balance
I think I should see a value like 770.0000 for that last command, right now I am getting a zero balance so Im wondering if I have done something wrong or the bump in sn_authd to 0.7.3 has broken something else? I had this kinda working earlier though
My favourite bit is at 2:57 where Zeke smashes the teacups.
Zeke had stayed in our flat for the previous couple of years and was very fine chap indeed. Originally from Rhodesia (as it was) he found life in Glasgow as an itinerant muso and part-time student much more conducive to his inner serenity than doing what he was born to - Son#1 to the chief of the Manyika tribe and now part of the new Zimbabwean government. A series of very official looking letters from the new Zimbabwean Embassy in London started dropping through the letter box as well as the usual letters from Zekes mum. The gist of it was that Zeke would return and fulfill his tribal duties or the first thing that would happen was Zekes pocket money from back home would cease immediately. This was a crisis for ALL inhabitants as it wasnt the first time we needed that dosh to feed us all. Then two very large chaps from the Zimbabwean Embassy turned up looking for Zeke. We thought it was the drug squad getting creative so we told them to go elsewhere and procreate. So they came back the next day when Zeke was in. We tried to reason with them and chill them out but that failed cos they politely explained that they could get far better dagga at home. So eventually poor Zeke had to make plans to return home. A Goodbye Zeke party was immediately arranged. Then Zeke won a stay of execution so we had another party. And then another. Rinse and repeat for a few months with regular Going Away parties for Zeke. Memories vary as it was a very hazy time but at least five separate parties took place. Finally it could be put off no longer and we all accompanied Zeke to the train to go to London and pick up his tickets for home. Getting on the same train was Edwyn Collins and wee Davy McClymont from Orange Juice on the way down to do some recording.
Next thing we knew, Zeke is on TOTP with OJ having suddenly become the drummer. Once he got some ££ for that, any question of going back to Zimbabwe was out the window He came back to Glasgow reasonably often (another excuse for a party) but the last time I talked to him he still hadnt gone home
user@user:~/safe$ ./southside
output files will be written to /tmp/std-file-upload-tests-02
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 385M 100 385M 0 0 2677k 0 0:02:27 0:02:27 --:–:-- 1045k
processing a 5MB standard testfile
real 0m51.593s
user 0m3.637s
sys 0m0.494s
FilesContainer created at: “safe://hyryyrbcckepq5iuyqkdpss4dtjfuph9otbq3zuy31b6dsffmrfj3y53ijynra”
md5-5MB.txt safe://hy8oycyqefc6jwd3kgyxdp1hiut51defj48ftk9pcb85frazdb9bqwig7by
processing a 10MB standard testfile
real 2m12.345s
user 0m8.098s
sys 0m1.133s
FilesContainer created at: “safe://hyryyrbmqu9ykfsjbuf8mf3wxs3o64apakz8nw6w5gturrhr5ye1ey5fkphnra”
md5-10MB.txt safe://hy8oycyqmhjxdgx4togmkebugoy7sy9kqf37qqgrruhm9u4jsbfhas8budh
processing a 20MB standard testfile
real 3m8.692s
user 0m17.123s
sys 0m2.131s
FilesContainer created at: “safe://hyryyrbqf9bho9tqzz17mbsqd8synbeiikcas9amg5f3m4hsfyyff9jms6ynra”
Thats a LOT faster than I was getting – thank you
If you want to get bold you could change line 48 of that script so the some or all of the larger files get tested as well
for i in 5MB 10MB 20MB #50MB 100MB 200MB #commented out for speed up dev and test
Next step is to GET the files from the XORURLs and compare the checksums - just for the correctness of it… then see what the download speed is
Once we get a proper testnet up and we get several folk all uploading these files we will see what the benefits of deduplication are. But I need to clean up the script first to make it more attractive for folks to run.
Anyway - if your bilge crisis has abated somewhat , can I persuade you to look at that script?
The hassle with sfe keys show balance not behaving as expected has scuppered my plans to check how many coins got used for each run of this test.
OPEN_BALANCE=`safe keys balance| tail -c13
do puts n stuff
CLOSE_BALANCE=safe keys balance|tail -c13
echo "cost of storage was " $(($OPEN_BALANCE-$CLOSE_BALANCE))
I have the syntax wrong on that last line but I cant see what I have done wrong and now I can’t test it.
50MB and 100MB. Didn’t try 200 as my USB is filling up and the CPU was getting agitated.
Now to try downloading and checksums.
Summary
user@user:~/safe$ ./southside
output files will be written to /tmp/std-file-upload-tests-02
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 385M 100 385M 0 0 2636k 0 0:02:29 0:02:29 --:–:-- 2924k
processing a 50MB standard testfile
real 9m46.793s
user 1m2.401s
sys 0m7.662s
FilesContainer created at: “safe://hyryyrbeqfjxe48yo95w9z9art8diybh4jm51f39ym13k9bk4jpq4f8mwqwnra”
md5-50MB.txt safe://hy8oycye9gnrf8xiy1id9eiykbrwfjo5yh7i4my6dn6mzawhu567sstkhzy
processing a 100MB standard testfile
real 17m5.389s
user 3m1.539s
sys 0m16.401s
FilesContainer created at: “safe://hyryyrbcpqiywmdkzn94whmy99xpnpryi6fabx813xttjco5eaxjbkrktshnra”
That file you are looking at is the checksum for the 5MB.zip, you want the first xorurl in safe-xorurl.txt.
My intention was a wee script that would loop over the contents of that file and safe files get $xorurl
so if you just feed it the first line, you shold get the 5MB testfile.
When you do, dont try to unzip it, its not a valid archive, none of them are. but if you md5sum it - it should match the contents of md5-5MB.txt