Homebrew RELEASE Thinfoil - stripped down fork of Tinfoil

uyjulian

Homebrewer
OP
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,892
Country
United States
Maybe 400mb buffer will increase the speed?

I might release versions with threads just for the heck of it.

I'm satisfied with my work right now since it is stable. I'm not really looking for speed since I can do other things anyway.
 
Last edited by uyjulian,
  • Like
Reactions: GnK23

designgears

Well-Known Member
Member
Joined
Aug 8, 2016
Messages
291
Trophies
0
XP
671
Country
United States
Maybe 400mb buffer will increase the speed?

I might release versions with threads just for the heck of it.

I'm satisfied with my work right now since it is stable. I'm not really looking for speed since I can do other things anyway.

6a0120a85dcdae970b0128776ff992970c-pi.png


Jokes aside, assuming you pulled the single threaded code from pabdulin's github, revert those bits and you'd get the speed back.
 
Last edited by designgears,

duckbill007

Well-Known Member
Member
Joined
May 5, 2011
Messages
691
Trophies
1
XP
2,485
Country
Russia
I already wrote many times that crashes caused by absence of synchronization in threaded code. Infinite loops in waiting for non-atomic vars is not a sync!
 
  • Like
Reactions: GnK23

GnK23

Well-Known Member
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
I already wrote many times that crashes caused by absence of synchronization in threaded code. Infinite loops in waiting for non-atomic vars is not a sync!
So the single thread really helps preventing crashes. Nice! :yayswitch: This proves a lot.
 

UnT7oh

Well-Known Member
Newcomer
Joined
Mar 18, 2017
Messages
88
Trophies
0
XP
377
Country
United States
So the single thread really helps preventing crashes. Nice! :yayswitch: This proves a lot.

I don't know what build of tinfoil you have been using but everyone has been using this one for a year and it never crashes, never has a corrupt installation and is fast: https://github.com/satelliteseeker/Tinfoil/releases/tag/v0.2.1-USB-fix

Of course it can not be compiled with libnx 2.5 in its current state so it will stop working when Atmosphere removes the temporary hid-mitm in the future.
 
  • Like
Reactions: Assasin1990

GnK23

Well-Known Member
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
I don't know what build of tinfoil you have been using but everyone has been using this one for a year and it never crashes, never has a corrupt installation and is fast: https://github.com/satelliteseeker/Tinfoil/releases/tag/v0.2.1-USB-fix

Of course it can not be compiled with libnx 2.5 in its current state so it will stop working when Atmosphere removes the temporary hid-mitm in the future.
I have tested it extensively by installing dlc and updates. We have another thread about hid-mitm and the crashing issue. It was already resolved that's why we have the thinfoil.
 

UnT7oh

Well-Known Member
Newcomer
Joined
Mar 18, 2017
Messages
88
Trophies
0
XP
377
Country
United States
I have tested it extensively by installing dlc and updates. We have another thread about hid-mitm and the crashing issue. It was already resolved that's why we have the thinfoil.

No, you seem to have no idea what you're talking about.
 

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
i’m confused, you seem concerned about min-maxing speed by tuning the buffer sizes, but then you go and remove threading which cuts the install speed in half, and you call it a feature?

you took this from the fastest usb installer, and brought it down to goldleaf speeds.
This matters only when reading from SD and writing to NAND.
FS internally has all access to read/write for a given SDMMC device mutex locked anyway.
If its only about that, there should be no real difference compared to the old ver on any emunand impl.
 
  • Like
Reactions: SaulFemm

blawar

Developer
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
This matters only when reading from SD and writing to NAND.
FS internally has all access to read/write for a given SDMMC device mutex locked anyway.
If its only about that, there should be no real difference compared to the old ver on any emunand impl.

It is not about internal synchronization. It is about reads blocking writes and vice versa. any writing downtime while waiting for a usb read to complete cannot be recovered later, it manifests as slower transfer speed.
 
  • Like
Reactions: designgears

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
It is not about internal synchronization. It is about reads blocking writes and vice versa. any writing downtime while waiting for a usb read to complete cannot be recovered later, it manifests as slower transfer speed.
Oh yea, didn't see this was about USB.
 
  • Like
Reactions: designgears

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,890
Trophies
2
XP
29,455
Country
United Kingdom
Do you have a thinfoil build with unmodified networking, so I can use it with NS-USBloader? Would appreciate it if you do, save me the effort of fitting it together myself :)
 

jammybudga777

Well-Known Member
Member
Joined
Aug 23, 2013
Messages
2,284
Trophies
1
Age
37
XP
2,193
Country
using aluminumfoil on tinfoil and tried goldleaf it just hangs. never had problems before now. even tried quarty but always hangs when its about to install the nsp
 
Last edited by jammybudga777,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
  • DinohScene @ DinohScene:
    Better start running in your hamster wheel
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Meth addicts on a treadmill connected to a generator "Unlimited POWER!!!'
  • Veho @ Veho:
    Before or after a hit?
    +1
  • Veho @ Veho:
    Do you dangle a baggie in front of them, like a carrot?
    +1
  • The Real Jdbye @ The Real Jdbye:
    they're the same thing
    +1
  • The Real Jdbye @ The Real Jdbye:
    i like that idea
    +1
  • Veho @ Veho:
    What's the same thing?
    +1
  • The Real Jdbye @ The Real Jdbye:
    before or after a hit
    +1
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
    +1
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
    BakerMan @ BakerMan: I hope it's not a week.