1GB SD cards which FAT Filesystem?
-
- Posts: 308
- Joined: Wed Mar 31, 2010 1:07 pm
- Location: UK, Hull
1GB SD cards which FAT Filesystem?
For emu_kidid only no one else answer.
Do do 1GB sdcard's need to be formatted to FAT32 for use with swiss the same as a HDD?
or can FAT "aka FAT16?" be used to retain file space? you lose a few MB when formatting to FAT32 that's all.
Do do 1GB sdcard's need to be formatted to FAT32 for use with swiss the same as a HDD?
or can FAT "aka FAT16?" be used to retain file space? you lose a few MB when formatting to FAT32 that's all.
Re: 1GB SD cards which FAT Filesystem?
wouldn't it have been a bit more prudent to send him a PM?
-
- Posts: 308
- Joined: Wed Mar 31, 2010 1:07 pm
- Location: UK, Hull
Re: 1GB SD cards which FAT Filesystem?
I want over users to see his reply as they may also be using 1GB sdcards to store their Homebrew dol's , emulator's etc, i'm not talking about the actual launching of GC games from a 1GB sdcard with swiss
I believe all past Homebrew used only FAT when used with a sdcard, none of them supported FAT32 irc or it was recommened to only use FAT.
Using FAT limits you to only using 0-4GB sdcard's?, yet sd-boot and swiss both support
SDHC via FAT32?
so they have support for both FAT versions?
SDSC: 1MB to 4 GB = FAT, [2GB, 4GB with 64KB clusters (not widely supported)]
SDHC: 4GB to 32GB = FAT32
SDXC: 32GB to 2TB = FAT32
The FAT file system does not contain mechanisms which prevent newly written files from becoming scattered across the partition.Other file systems, like HPFS, use free space bitmaps that indicate used and available clusters, which could then be quickly looked up in order to find free contiguous areas (improved in exFAT). Another solution is the linkage of all free clusters into one or more lists (as is done in Unix file systems). Instead, the FAT has to be scanned as an array to find free clusters, which can lead to performance penalties with large disks.
In fact, computing free disk space on FAT is one of the most resource intensive operations, as it requires reading the entire FAT linearly. A possible justification suggested by Microsoft's Raymond Chen for limiting the maximum size of FAT32 partitions created on Windows was the time required to perform a "DIR" operation, which always displays the free disk space as the last line. Displaying this line took longer and longer as the number of clusters increased.
The High Performance File System (HPFS) divides disk space into bands, which have their own free space bitmap, where multiple files opened for simultaneous write could be expanded separately.
Some of the perceived problems with fragmentation resulted from operating system and hardware limitations.
The single-tasking DOS and the traditionally single-tasking PC hard disk architecture (only 1 outstanding input/output request at a time, no DMA transfers) did not contain mechanisms which could alleviate fragmentation by asynchronously prefetching next data while the application was processing the previous chunks.
Similarly, write-behind caching was often not enabled by default with Microsoft software (if present) given the problem of data loss in case of a crash, made easier by the lack of hardware protection between applications and the system.
Modern operating systems have introduced these optimizations to FAT partitions, but optimizations can still produce unwanted artifacts in case of a system crash. A Windows NT system will allocate space to files on FAT in advance, selecting large contiguous areas, but in case of a crash, files which were being appended will appear larger than they were ever written into, with dozens of random kilobytes at the end.
With the large cluster sizes, 16 or 32K, forced by larger FAT32 partitions, the external fragmentation becomes somewhat less significant, and internal fragmentation, i.e. disk space waste (since files are rarely exact multiples of cluster size), starts to be a problem as well, especially when there are a great many small files.
I believe all past Homebrew used only FAT when used with a sdcard, none of them supported FAT32 irc or it was recommened to only use FAT.
Using FAT limits you to only using 0-4GB sdcard's?, yet sd-boot and swiss both support
SDHC via FAT32?
so they have support for both FAT versions?
SDSC: 1MB to 4 GB = FAT, [2GB, 4GB with 64KB clusters (not widely supported)]
SDHC: 4GB to 32GB = FAT32
SDXC: 32GB to 2TB = FAT32
The FAT file system does not contain mechanisms which prevent newly written files from becoming scattered across the partition.Other file systems, like HPFS, use free space bitmaps that indicate used and available clusters, which could then be quickly looked up in order to find free contiguous areas (improved in exFAT). Another solution is the linkage of all free clusters into one or more lists (as is done in Unix file systems). Instead, the FAT has to be scanned as an array to find free clusters, which can lead to performance penalties with large disks.
In fact, computing free disk space on FAT is one of the most resource intensive operations, as it requires reading the entire FAT linearly. A possible justification suggested by Microsoft's Raymond Chen for limiting the maximum size of FAT32 partitions created on Windows was the time required to perform a "DIR" operation, which always displays the free disk space as the last line. Displaying this line took longer and longer as the number of clusters increased.
The High Performance File System (HPFS) divides disk space into bands, which have their own free space bitmap, where multiple files opened for simultaneous write could be expanded separately.
Some of the perceived problems with fragmentation resulted from operating system and hardware limitations.
The single-tasking DOS and the traditionally single-tasking PC hard disk architecture (only 1 outstanding input/output request at a time, no DMA transfers) did not contain mechanisms which could alleviate fragmentation by asynchronously prefetching next data while the application was processing the previous chunks.
Similarly, write-behind caching was often not enabled by default with Microsoft software (if present) given the problem of data loss in case of a crash, made easier by the lack of hardware protection between applications and the system.
Modern operating systems have introduced these optimizations to FAT partitions, but optimizations can still produce unwanted artifacts in case of a system crash. A Windows NT system will allocate space to files on FAT in advance, selecting large contiguous areas, but in case of a crash, files which were being appended will appear larger than they were ever written into, with dozens of random kilobytes at the end.
With the large cluster sizes, 16 or 32K, forced by larger FAT32 partitions, the external fragmentation becomes somewhat less significant, and internal fragmentation, i.e. disk space waste (since files are rarely exact multiples of cluster size), starts to be a problem as well, especially when there are a great many small files.
Re: 1GB SD cards which FAT Filesystem?
Either one is fine.
-
- Posts: 99
- Joined: Wed Mar 31, 2010 2:05 am
Re: 1GB SD cards which FAT Filesystem?
OMG GAIZE!
-
- Posts: 308
- Joined: Wed Mar 31, 2010 1:07 pm
- Location: UK, Hull
Re: 1GB SD cards which FAT Filesystem?
Thanks but what about other homebrew ie: emulator's do they support both also?
Re: 1GB SD cards which FAT Filesystem?
yes, I'm just using libOGC, should be fine.
-
- Posts: 99
- Joined: Wed Mar 31, 2010 2:05 am
Re: 1GB SD cards which FAT Filesystem?
Shit, I'm so glad no one else answered.
-
- Posts: 308
- Joined: Wed Mar 31, 2010 1:07 pm
- Location: UK, Hull
Re: 1GB SD cards which FAT Filesystem?
doktor_krotch wrote:OMG GAIZE!
Sarcasm radar off, today, sorry.doktor_krotch wrote:Shit, I'm so glad no one else answered.
--------
Thanks, is there anyway to reduce fragmentation made by newly saved files? every save state I make in genplusgx comes out fragmented on my sdcard I think you said it had something to do with either the sector or cluster size? is there anyway I can check the specs of my card?
Last edited by kevstah2004 on Wed Feb 23, 2011 5:49 am, edited 3 times in total.
-
- Posts: 99
- Joined: Wed Mar 31, 2010 2:05 am
Re: 1GB SD cards which FAT Filesystem?
I assume this question is open to the floor, so if you're running windows you can find it in the system information tool under Components > Storage > Disks > Bytes/sector.
EDIT - I swear this is the only thing that this tool has ever been useful for. Every time I reinstall I have to associate nfo files with notepad because this thing doesn't know what to do with them.
EDIT - I swear this is the only thing that this tool has ever been useful for. Every time I reinstall I have to associate nfo files with notepad because this thing doesn't know what to do with them.
-
- Posts: 308
- Joined: Wed Mar 31, 2010 1:07 pm
- Location: UK, Hull
Re: 1GB SD cards which FAT Filesystem?
I've used it before I think, I stated the info on tehskeen during the sd-boot days using a combo of speccy and winhex irc.
Re: 1GB SD cards which FAT Filesystem?
hahaha gold!!!!!doktor_krotch wrote:Shit, I'm so glad no one else answered.
seriously kev, chill
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
-
- Posts: 308
- Joined: Wed Mar 31, 2010 1:07 pm
- Location: UK, Hull
Re: 1GB SD cards which FAT Filesystem?
With what? I take his dev word before any fools here since he actually made swissliquitt wrote:hahaha gold!!!!!doktor_krotch wrote:Shit, I'm so glad no one else answered.
seriously kev, chill
-
- Posts: 308
- Joined: Wed Mar 31, 2010 1:07 pm
- Location: UK, Hull
Re: 1GB SD cards which FAT Filesystem?
I found the cause, I think it must of been when I tried to load the SDML sdgecko, from the IDE EXI option in Swiss using Slot A, I had the IDE EXI in slot B, instead of loading the IDE EXI from Slot B I chose slot A
Now my 1GB SDcard is dead, say your goodbye's to him please folks
2007-2011 - He was only 4 years old
Time for me to get a proper SanDisk.
Now my 1GB SDcard is dead, say your goodbye's to him please folks
2007-2011 - He was only 4 years old
Time for me to get a proper SanDisk.
Re: 1GB SD cards which FAT Filesystem?
doktor_krotch wrote:Shit, I'm so glad no one else answered.
^_^
Re: 1GB SD cards which FAT Filesystem?
that's rude!kevstah2004 wrote: With what? I take his dev word before any fools here since he actually made swiss
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm