Okay, SD card one last time, here we go.
thewrongchristian wrote:Not sure it's fake. Misbehave doesn't mean fail. It might be that the SDXC card has optimisations that work with exFAT, and not using exFAT bypasses those optimisations
First, "misbehave" suggests malfunctioning or corrupt filesystem, while "bypassing optimization" suggests it's slow, but correct. (Neither happens BTW)
thewrongchristian wrote:which might result in poor performance or excessive wear. For example, some cards have been shown to have FTL optimisations so the FAT area of the disk is optimised for small writes, with more fine grained FTL mapping in those areas, whereas general data areas tend to have coarser grained FTL.
Second, no there's absolutely no performance drawback, nor any other drawback, because it is not the card that classifies the sectors, but the host (see simplified SD card specification section 4.13.2.6 Distinction of Data Type and section 4.13.2.8 Speed Class Control). The
host is supposed to tell the controller if it's writing directory data, allocation data or file data. A high speed write consist of: "The Speed Class specification for SDXC defines the CI Update sequence and operation time. The sequence is similar to the directory entry update. CI is always written by a 512-byte single block write (either CMD24 or CMD25) and preceded by CMD20 Update CI command. "
An ext4 (or any other) driver for example can easily comply with that, use these commands in this order, while providing its own (non-fat) data structures in the sectors.
Octocontrabass wrote:I seem to have misplaced my copy of the SDXC specification. Can you quote the relevant paragraphs?
Nope, you just don't want to read. Even spoken of in the "simplified" spec. I've already did quote it, several times actually... In the simplified SD specification
Code: Select all
4.13.2.7.3 Requirements of SD File System
This specification can be applied only to the SD file system formatted card defined by the File System Specification Version 3.00.
Pay good attention on the wording: it does not say other file system's can't be used, it says "the following is true
if exFAT is being used".
The simplified SD specification does not go into details, but it names that register specifically: see section 5.3.2 CSD Register, bits FILE_FORMAT_GRP and FILE_FORMAT bits.
And on page 12, in Table 3-2 : SD Memory Card Registers, it says:
CSD 128 Card Specific Data; information about the card operation conditions(See 5.3). Mandatory
Note that last bold word. Supporting CSD bits (including FILE_FORMAT bits) is mandatory. According to this, SDXC cards are allowed to use just as any file systems they want, exFAT is just optional (but pushed by M$ marketing department aggressively because they have active patents on it and they are making lots of money from the licensing fees.)
Cheers,
bzt