Hacking It would be possible defrag NAND?

OriginalHamster

UStealthy
OP
Member
Joined
Nov 2, 2008
Messages
3,380
Trophies
0
Age
44
XP
1,367
Country
Cote d'Ivoire
Just wondering if it's would be possible, I just check my files with GiantPune NAND extractor tool and I saw how scatered my files are.
Could a defrag help to improve speed? My Wii is getting very slow to show the channels installed.
 

DinohScene

Gay twink catboy
Global Moderator
Joined
Oct 11, 2011
Messages
22,532
Trophies
4
Location
Восторг
XP
22,748
Country
Antarctica
You won't have any speed improvements with it.
Besides it reduces the life of the NAND by unnecessary write cycles.

The same goes for SDD's.
The amount of fragmentation hardly makes a diffirence.
 

Lucif3r

Well-Known Member
Member
Joined
Sep 10, 2011
Messages
1,468
Trophies
0
XP
228
Country
No, a NAND isnt affected by fragmentation as such. Main reason a normal HDD gets affected by fragmentation is because the head needs to move a lot more. Solid State chips dont.


edit: bastards, ninja'd by 2 other lurkers ^..^
 

PsyBlade

Snake Charmer
Member
Joined
Jul 30, 2009
Messages
2,204
Trophies
0
Location
Sol III
XP
458
Country
Gambia, The
a conventional defrag algorithems will inflict much more harm than good on flash
but under certain circumstances a specialised flash defrag could help, but I don't know the wiis details
the tool would need to be made to fit to the wiis nand anyway and there is none and probably never will be
 

OriginalHamster

UStealthy
OP
Member
Joined
Nov 2, 2008
Messages
3,380
Trophies
0
Age
44
XP
1,367
Country
Cote d'Ivoire
I wonder why some Wiis are faster, my nephew Wii load the channels in settings menu very fast, mine takes about 11 seconds, even I have few channels installed on NAND, I store my VC/WiiWare in the SD.
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
I wonder why some Wiis are faster, my nephew Wii load the channels in settings menu very fast, mine takes about 11 seconds, even I have few channels installed on NAND, I store my VC/WiiWare in the SD.
That will come because you may still have the tickets installed, this can slow everything down.
 

OriginalHamster

UStealthy
OP
Member
Joined
Nov 2, 2008
Messages
3,380
Trophies
0
Age
44
XP
1,367
Country
Cote d'Ivoire
I wonder why some Wiis are faster, my nephew Wii load the channels in settings menu very fast, mine takes about 11 seconds, even I have few channels installed on NAND, I store my VC/WiiWare in the SD.
That will come because you may still have the tickets installed, this can slow everything down.
Probably, I have like 100 titles installed =P
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
Do a format, it's simple.

Build a completely new NAND from scratch, using ohneschwanzenegger.
(grab dead sectors & setting.txt [region,serial, hw strings?] from your NAND backup so you don't have trouble getting WIFI to work once you rewrote the new NAND).
There are various tutorials around here, and once you're done, rewrite the fresh NAND with bootmii.

ps: of course this means you'd have to backup everything, savefiles, wads, etc.
 

Hielkenator

Well-Known Member
Member
Joined
Feb 7, 2010
Messages
4,210
Trophies
0
XP
679
Country
Netherlands
Do a format, it's simple.

Build a completely new NAND from scratch, using ohneschwanzenegger.
(grab dead sectors & setting.txt [region,serial, hw strings?] from your NAND backup so you don't have trouble getting WIFI to work once you rewrote the new NAND).
There are various tutorials around here, and once you're done, rewrite the fresh NAND with bootmii.

ps: of course this means you'd have to backup everything, savefiles, wads, etc.

A "normal" Wii system format will suffice.
There's no need for 'Punes tools in this case and is probably overkill IMHO.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
my tool will also fragment the files it writes. it will a random sector, and then put as much of that file as it can on the same block as that sector. if the file is bigger than the free space on that block, it will pick another random one.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
A "normal" Wii system format will suffice.
There's no need for 'Punes tools.

If you're going as far as doing a "normal" wii format, most likely you'll have to reinstall all VC channels again, however I don't know if a system format will do side effects if you erase a forced installation through WAD (TMD, tickets...). If you're going that far, it's much better to build a new system menu from scratch, just install everything and restore WADs like you should do.

Also, IIRC originalhamster had a boot2 bugged wii...

in this case and is probably overkill IMHO

Sorry, I don't spend that much time on internet to know what is IMHO, and who cares anyway
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
But if a NAND is built from scratch, we will forget wrong, old tickets lying around (whose deleting with anytitler could lead to a permanent brick anyway).

And like others said, defrag flash memory will waste write cicles (as the lifespan of a flash mem depends on the times you write per block)
 

obcd

Well-Known Member
Member
Joined
Apr 5, 2011
Messages
1,594
Trophies
0
XP
432
Country
Belgium
A good flash implementation is suposed to keep track of the number of erase cycles performed on every block. It should try to keep those numbers as small as possible, and equaly divided. As a nand flash chip is purely a memory chip, reading from one sector to another doesn't take time like on a normal harddisk. In case of a normal harddisk, the read write haeds need to be displaced which take time, and very likely the newly requested sector won't be cached, so the disk electronics will need to read it from the platters. While it looks ugly to see your files spread over your nand chip sectors, it doesn't affect speed. Every time the system menu loads, all tickets are checked, and the existence of the titles for it are checked as well to see if they are channels that should be displayed on the system menu. So, if some garbae is left in those folders, it might slowdown things.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-