Product Idea: USB Flash Drives
#63
(04-01-2021, 10:02 PM)barray Wrote: cgit looks cool, will have to check that out. I don't think it really matters all too much though and bare in mind, if our project suddenly gets referenced to by say Reddit and the server experiences a massive load, somewhere like GitLab would be able to handle it whereas our servers would be crushed. I understand the want to control the entire stack, but ultimately the decentralized nature of git means we'll have our own copies of the code in the worst case anyway.

Too high load on the server would actually be a good problem to have.  I wouldn't worry too much about it for now, though.

(04-01-2021, 10:02 PM)barray Wrote: Apparently nobody else really has any idea where to put it either. Their main concern if I understand correctly is that people believe it is some official Pine product ready to go into production. Normally the discussions we're having happen behind closed doors at pine when they are first designing out the hardware anyway. This would be an entirely new process for them.

That's an accurate description of the issue at hand.  Maybe we could put the link into the "Community and Support" section on the main wiki page, as an example of the community collaboration and effort?  That might even attract the attention of Pine64.

(04-01-2021, 10:02 PM)barray Wrote:
(04-01-2021, 09:20 PM)dsimic Wrote: Umh, I'm not sure about that.  Even simple Micro SD cards are rather out of control when it comes to knowing that a write operation reported as successful has actually reached the underlying flash memory, which would make it possible to randomly cut the power or yank the card and lose no data.  Even rebooting the host can be problematic, because in many cases the reboot must include power cycling of the Micro SD card.  If the host uses the card at higher speeds and 1.8 V, the card must be power cycled to become initializable and usable by the boot loader after the reboot.

I think there are some things we can explore here. It may be difficult, but I believe we should be able to make some guarantees about the data, even if that means immediately ready it back.

Meh, not even doing a repeated read from "smart" flash would guarantee anything, because the embedded flash controller could simply return the buffered data that is still in transit to the underlying flash memory. 

Some industrial full-size SD cards mitigate the issue by including supercaps that provide the emergency power required to actually complete all write operations that were acknowledged as successful, which is the same approach as in enterprise SSDs.  However, there's simply no space for such supercaps in Micro SD cards or SPI flash chips, which makes them inherently unreliable.

(04-01-2021, 10:02 PM)barray Wrote:
(04-01-2021, 09:20 PM)dsimic Wrote: Letting "smart" flash do its job for a certain period of time (with an additional supercap or anything else) and hoping that data actually reaches the flash still doesn't provide the required level of data reliability.  It would be a hit-and-miss approach, which would only provide a false sense of reliability.  To have reliable storage, in our case we need underlying flash that is dumb, in the sense of being raw and having no integrated logic.  In the case of raw flash, having a write operation that is reported back as successful actually means reaching the flash with the written data, which is what we need.

Not entirely true... Having it come back with 'success' just means that it "believes" it wrote something, but of course the memory cells are most vulnerable when their state is being changed and you could get electron leakage that flips the bit.

The leakage you mentioned actually belongs to a whole other category of issues, usually called bit rot or silent data corruption.  It is actually unrelated to the acknowledged writes that end up not reaching the underlying flash memory.  I'll try to explain this further.

There are three "players" in this game: the flash memory, the embedded flash controller, and the host.  When the flash "lies" to the controller, by experiencing the effects of cosmic rays or a defective cell, it is the silent data corruption.  In this case, the flash actually doesn't "lie", it's instead simply unaware of the changes to the data.  When the controller "lies" to the host, as a result of performing the wear leveling or as just an attempt to improve performance, it is the write that hasn't actually reached the flash memory.  In this case, the controller really "lies", by being fully aware of the data not reaching the underlying flash.

Eliminating the controller (a true "liar") from the above-described equation leaves the host to deal with low-level flash issues, but eliminates the possibility of having incomplete writes treated as complete.  Of course, the possibility for silent data corruption still remains, as a constraint of the flash memory technology, which can be mitigated using additional ECC data.

(04-01-2021, 10:02 PM)barray Wrote: On a completely different note, I was thinking of some fun way to 'brand' the device. If we do stick with 'PineFlash', perhaps we could reference either Flash Gordon: https://www.imdb.com/title/tt0080745/ or The Flash: https://www.imdb.com/title/tt3107288/ ? I think both could be fun - the first is the savior of the Universe, the second is a super fast hero Tongue Either way, I'm feeling a red PCB with exposed copper could look epic! https://i.pinimg.com/originals/25/95/36/...8e2be8.jpg

It would be fun, but receiving a copyright infrigement notice would be much less fun. Smile
  Reply


Messages In This Thread
Product Idea: USB Flash Drives - by barray - 03-03-2021, 05:57 AM
RE: Product Idea: USB Flash Drives - by Arwen - 03-04-2021, 02:25 PM
RE: Product Idea: USB Flash Drives - by Julius_GU - 03-05-2021, 01:33 PM
RE: Product Idea: USB Flash Drives - by Julius_GU - 03-05-2021, 03:59 PM
RE: Product Idea: USB Flash Drives - by barray - 03-05-2021, 07:04 PM
RE: Product Idea: USB Flash Drives - by barray - 03-05-2021, 09:23 PM
RE: Product Idea: USB Flash Drives - by Arwen - 03-07-2021, 03:33 PM
RE: Product Idea: USB Flash Drives - by barray - 03-07-2021, 04:59 PM
RE: Product Idea: USB Flash Drives - by barray - 03-07-2021, 11:15 PM
RE: Product Idea: USB Flash Drives - by Julius_GU - 03-14-2021, 12:05 PM
RE: Product Idea: USB Flash Drives - by Arwen - 03-14-2021, 01:40 PM
RE: Product Idea: USB Flash Drives - by barray - 03-14-2021, 02:01 PM
RE: Product Idea: USB Flash Drives - by Arwen - 03-14-2021, 02:18 PM
RE: Product Idea: USB Flash Drives - by barray - 03-14-2021, 03:12 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-15-2021, 04:00 PM
RE: Product Idea: USB Flash Drives - by barray - 03-15-2021, 04:31 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-15-2021, 08:32 PM
RE: Product Idea: USB Flash Drives - by barray - 03-16-2021, 02:43 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-16-2021, 03:21 PM
RE: Product Idea: USB Flash Drives - by barray - 03-16-2021, 04:42 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-16-2021, 05:11 PM
RE: Product Idea: USB Flash Drives - by barray - 03-16-2021, 06:02 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-16-2021, 06:36 PM
RE: Product Idea: USB Flash Drives - by barray - 03-16-2021, 08:23 PM
RE: Product Idea: USB Flash Drives - by Julius_GU - 03-17-2021, 02:04 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-19-2021, 05:47 AM
RE: Product Idea: USB Flash Drives - by barray - 03-17-2021, 07:02 PM
RE: Product Idea: USB Flash Drives - by barray - 03-17-2021, 10:26 PM
RE: Product Idea: USB Flash Drives - by barray - 03-20-2021, 12:26 AM
RE: Product Idea: USB Flash Drives - by dsimic - 03-20-2021, 03:08 AM
RE: Product Idea: USB Flash Drives - by barray - 03-20-2021, 04:37 AM
RE: Product Idea: USB Flash Drives - by dsimic - 03-20-2021, 05:47 AM
RE: Product Idea: USB Flash Drives - by barray - 03-21-2021, 12:01 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-21-2021, 03:48 PM
RE: Product Idea: USB Flash Drives - by barray - 03-21-2021, 04:18 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-21-2021, 04:56 PM
RE: Product Idea: USB Flash Drives - by barray - 03-21-2021, 10:39 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-22-2021, 12:11 AM
RE: Product Idea: USB Flash Drives - by barray - 03-22-2021, 12:19 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-26-2021, 06:59 AM
RE: Product Idea: USB Flash Drives - by LazLong - 03-22-2021, 06:20 PM
RE: Product Idea: USB Flash Drives - by barray - 03-23-2021, 04:37 AM
RE: Product Idea: USB Flash Drives - by LazLong - 03-23-2021, 02:02 PM
RE: Product Idea: USB Flash Drives - by israel - 03-23-2021, 06:02 AM
RE: Product Idea: USB Flash Drives - by barray - 03-23-2021, 04:33 PM
RE: Product Idea: USB Flash Drives - by barray - 03-27-2021, 02:06 AM
RE: Product Idea: USB Flash Drives - by dsimic - 03-27-2021, 03:00 AM
RE: Product Idea: USB Flash Drives - by barray - 03-28-2021, 01:47 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-28-2021, 03:04 PM
RE: Product Idea: USB Flash Drives - by barray - 03-28-2021, 03:28 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-28-2021, 09:46 PM
RE: Product Idea: USB Flash Drives - by barray - 03-29-2021, 08:09 AM
RE: Product Idea: USB Flash Drives - by dsimic - 04-01-2021, 07:50 AM
RE: Product Idea: USB Flash Drives - by xalius - 03-29-2021, 08:34 AM
RE: Product Idea: USB Flash Drives - by Arwen - 03-29-2021, 11:15 AM
RE: Product Idea: USB Flash Drives - by barray - 03-30-2021, 11:20 AM
RE: Product Idea: USB Flash Drives - by barray - 03-30-2021, 12:44 PM
RE: Product Idea: USB Flash Drives - by Arwen - 04-01-2021, 01:27 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-01-2021, 02:05 PM
RE: Product Idea: USB Flash Drives - by barray - 04-01-2021, 05:31 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-01-2021, 09:20 PM
RE: Product Idea: USB Flash Drives - by barray - 04-01-2021, 10:02 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-01-2021, 11:01 PM
RE: Product Idea: USB Flash Drives - by Arwen - 04-03-2021, 03:00 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-07-2021, 12:52 PM
RE: Product Idea: USB Flash Drives - by barray - 04-05-2021, 07:47 PM
RE: Product Idea: USB Flash Drives - by barray - 04-11-2021, 10:52 AM
RE: Product Idea: USB Flash Drives - by dsimic - 04-12-2021, 01:09 AM
RE: Product Idea: USB Flash Drives - by Arwen - 04-13-2021, 11:31 AM
RE: Product Idea: USB Flash Drives - by dsimic - 04-14-2021, 11:13 AM
RE: Product Idea: USB Flash Drives - by barray - 04-20-2021, 07:19 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-20-2021, 08:07 PM
RE: Product Idea: USB Flash Drives - by xalius - 04-21-2021, 08:45 AM
RE: Product Idea: USB Flash Drives - by barray - 04-21-2021, 08:32 PM
RE: Product Idea: USB Flash Drives - by xalius - 04-22-2021, 01:27 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-25-2021, 02:13 PM
RE: Product Idea: USB Flash Drives - by barray - 04-25-2021, 10:24 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-25-2021, 10:44 PM
RE: Product Idea: USB Flash Drives - by barray - 05-14-2021, 01:43 AM
RE: Product Idea: USB Flash Drives - by dsimic - 05-16-2021, 01:11 AM
RE: Product Idea: USB Flash Drives - by barray - 05-16-2021, 02:10 AM
RE: Product Idea: USB Flash Drives - by dsimic - 05-16-2021, 05:29 AM
RE: Product Idea: USB Flash Drives - by Arwen - 05-16-2021, 11:32 AM
RE: Product Idea: USB Flash Drives - by poVoq - 05-16-2021, 05:25 PM
RE: Product Idea: USB Flash Drives - by barray - 05-16-2021, 07:08 PM
RE: Product Idea: USB Flash Drives - by barray - 05-17-2021, 10:36 PM
RE: Product Idea: USB Flash Drives - by dsimic - 05-17-2021, 11:59 PM
RE: Product Idea: USB Flash Drives - by barray - 05-18-2021, 09:08 PM
RE: Product Idea: USB Flash Drives - by barray - 06-01-2021, 10:23 PM
RE: Product Idea: USB Flash Drives - by dsimic - 06-04-2021, 04:51 AM
RE: Product Idea: USB Flash Drives - by barray - 06-04-2021, 11:33 PM
RE: Product Idea: USB Flash Drives - by dsimic - 06-04-2021, 11:51 PM
RE: Product Idea: USB Flash Drives - by barray - 06-07-2021, 10:04 AM
RE: Product Idea: USB Flash Drives - by dsimic - 06-11-2021, 04:15 AM
RE: Product Idea: USB Flash Drives - by barray - 06-12-2021, 04:35 AM
RE: Product Idea: USB Flash Drives - by dsimic - 07-07-2021, 08:08 PM
RE: Product Idea: USB Flash Drives - by barray - 07-08-2021, 09:21 PM
RE: Product Idea: USB Flash Drives - by biketool - 07-09-2021, 03:09 AM
RE: Product Idea: USB Flash Drives - by dsimic - 07-09-2021, 03:27 AM
RE: Product Idea: USB Flash Drives - by biketool - 07-09-2021, 09:03 AM
RE: Product Idea: USB Flash Drives - by dsimic - 07-09-2021, 01:43 PM
RE: Product Idea: USB Flash Drives - by barray - 07-10-2021, 04:53 AM
RE: Product Idea: USB Flash Drives - by biketool - 07-10-2021, 11:54 AM
RE: Product Idea: USB Flash Drives - by barray - 07-12-2021, 01:08 AM
RE: Product Idea: USB Flash Drives - by tarksur - 09-01-2022, 01:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Possible new Pine64 product - Pine Blue Ray DVD Linux tv box Omnios 5 1,507 07-24-2023, 03:21 PM
Last Post: Omnios
  QuartzPro64 SPI flash Melab 1 904 03-16-2023, 07:50 PM
Last Post: Melab
  Modular product design Zotax 0 854 01-28-2023, 11:50 AM
Last Post: Zotax
  Product Idea: PineTracker EternityForest 0 786 01-12-2023, 10:33 PM
Last Post: EternityForest
  New product idea: Pine Glasses Blathers 2 2,767 12-02-2022, 09:51 PM
Last Post: erikzoltan
Lightbulb Product Idea: Pine Graphics Tablet israel 10 8,287 04-19-2022, 04:12 AM
Last Post: Houstand345
  Article: Auto Flash and Test NuttX on RISC-V BL602 (PineCone) lupyuen 0 1,284 01-24-2022, 05:41 PM
Last Post: lupyuen
  Rackmount cluster case as a Pine Store product? dfr 3 3,370 09-30-2021, 04:52 PM
Last Post: poVoq
  E-Note Device (E-Ink, E-Paper, Project Idea) Sirius 9 9,123 08-18-2021, 08:28 AM
Last Post: biketool
  PineVR as a new product? poVoq 11 11,465 05-31-2021, 09:33 AM
Last Post: MirceaKitsune

Forum Jump:


Users browsing this thread: 2 Guest(s)