flat assembler
Message board for the users of flat assembler.

Index > OS Construction > what about a usb to ide hard drive.

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 23 Apr 2008, 14:41
Where do you get the 100k write cycles (isn't it erase-cycles, rather?) figure from? I've seen people use a lot of different figures, but it always seems to be pulled out of thin air... I do guess standard flash card memory might have somewhat fewer cycles than the superexpensive solid-state disks, though?

Interesting you say performance is faster than hard drive, read and write performance is usually a lot lower than modern drives, when you're talking standard flash cards... most CF/IDE adapters I've seen weren't even udma capable. Even one of my several year old drives (pretty slow by today's standards) can do 40mbyte/s sustained read, 25mbyte/s sustained write. My raptors are more like 85mb/s read, 60mb/s write. How fast is this adapter? (Of course also depends on the CF type used).

If you put linux on, you might want to consider using a logger daemon that sends log to a syslog server somewhere on the network, to reduce writes...
Post 23 Apr 2008, 14:41
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4354
Location: Now
edfed 23 Apr 2008, 14:47
my CF is only 10MB/s but it is more reactive, the latency is very interresting.
when i said faster that hd, it was about the latency.
i don't have to wait and hear the noise. but it is very slow to read/write on it.

nothing is perfect!
Post 23 Apr 2008, 14:47
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20638
Location: In your JS exploiting you and your system
revolution 23 Apr 2008, 14:52
100k writes is standard for Flash technology ICs. You can also get 1M writes with more expensive version. Cheapo USB Flash drives are mostly 100k cycle versions.

The higher priced cheapo models often use a wear levelling algo to increase the usage. The lower priced cheapo models often are just direct write. You need to check you model to see what it uses, but usually that info is difficult to find.
Post 23 Apr 2008, 14:52
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 23 Apr 2008, 14:57
Ugh, models without wear leveling would be bad no matter how many cycles they support - at least if used with a traditional filesystem and workstation loads Smile
Post 23 Apr 2008, 14:57
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20638
Location: In your JS exploiting you and your system
revolution 23 Apr 2008, 15:05
I have read stories about Flash drives being rendered unusable in less than a day when used for DB storage on a server.
Post 23 Apr 2008, 15:05
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 23 Apr 2008, 15:14
Ugh, sounds like they should have used better flash and a massive memcached Smile - I do wonder how today's (expensive...) SSDs handle, though. And especially how the new flashram type that... intel+IBM, iirc?, are working on will improve things.

Btw, once you hit the max write cycles, can you still at least read the flash? That would still be a massive improvement over harddrives with headcrash.
Post 23 Apr 2008, 15:14
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20638
Location: In your JS exploiting you and your system
revolution 23 Apr 2008, 15:32
The max. writes is not a hard limit. Usually at 100k everything should still be working fine, but after that you may find the occasional bit here and there that won't write/erase properly (it takes a long time to write/erase) until eventually the bit can no longer be programmed. More and more of these "dead" bits appear as the bit's write cycles increases. Reading is never a problem, just keep reading as much as you like.
Post 23 Apr 2008, 15:32
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4354
Location: Now
edfed 23 Apr 2008, 15:57
a good design about system is the one used in our head.
the data never disappear of our brain. a cell cannot be overwriten at all.
only few neurons can change their state to access other banks of memory, but these one are RAM analogy, can be read/write infinitelly.
then, a good future system would use a Flash ROM for the Programs, assuming they are all mature, and don't need a lot of updates.
then, the datas will all be writen in fixed locations and never change, or rarelly.
musics never changes. for it, flash is the best solution as it doin't die in case of shock or hardcore read use.

then, it is interresting to have specific X86 machines with this kind of concept.

this one on the picture is my prototype for all OS construction. there are still hard drives for the Good old 98 , that is used as a transition.

and as times goes, it will become a full optimised computer for MP3 music and asm coding.

yeah!
Post 23 Apr 2008, 15:57
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 23 Apr 2008, 19:47
http://en.wikipedia.org/wiki/Logfs
http://logfs.org/logfs/

BTW, I think Puppy Linux is now designed to (mostly) minimize writes to bootable USB drives, but I've never really tried installing to USB (and don't use it really, just mentioning it for completeness' sake).
Post 23 Apr 2008, 19:47
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 24 Apr 2008, 15:20
Linux would write to it, for swop file use, you could try DexOS or MenuetOS, OctaOS, SolarOS.
DexOS would only write to it if you want it to.
Post 24 Apr 2008, 15:20
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4354
Location: Now
edfed 24 Apr 2008, 15:47
Quote:
DexOS would only write to it if you want it to.


interresting... if you have some dexos that support the creative SB PCI 128, i am really interrested to devellop for it.

what i waht is very simple. a fast MP3 player made in asm and "easy" to modify, using fasm and etc etc...

menuet is too much dirty for me...sorry ville, it would be with a lot of enjooyment that i join your os, but i cannot read it's source.

why not octa OS? because i've testedd it, and it freeze...Sad
why not solarOS? because i've tested it, and it freeze too. but it is more in my philosophy, OO gui, very interresting...

instead to devellop my os, i will be a beta tester... Smile and the winner will be... TG for his exelent tool!
Post 24 Apr 2008, 15:47
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 24 Apr 2008, 21:34
There's a SB Pro driver if 128 as compatibility ?. as for asm mp3 code if you find any let me know .
Good luck.

Ps: i ended up buying one of these instead of coding a mp3 player
http://apple.clickandbuild.com/cnb/shop/ftdichip?op=catalogue-products-null&prodCategoryID=55&title=VMUSIC
Post 24 Apr 2008, 21:34
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4354
Location: Now
edfed 24 Apr 2008, 22:12
i would prefer to code the MP3 codec, even if it take more than one year to do it.
after, it is ok, ones the code is done, it will work for the eternity of the target!

let me know if i can have the DEXOS source and SB driver for development on a HD.

i'll be happy to try to dev for MP3, as MP3 is one of the file format we cannot ignore. Wink
Post 24 Apr 2008, 22:12
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 24 Apr 2008, 23:50
Linux only does swap if you enable swap, and you don't want to go there for embedded use anyway...
Post 24 Apr 2008, 23:50
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 25 Apr 2008, 03:18
edfed wrote:
i would prefer to code the MP3 codec, even if it take more than one year to do it.
after, it is ok, ones the code is done, it will work for the eternity of the target!

let me know if i can have the DEXOS source and SB driver for development on a HD.

i'll be happy to try to dev for MP3, as MP3 is one of the file format we cannot ignore. Wink

Cool, i will upload and PM you a link to the latest source code.
Post 25 Apr 2008, 03:18
View user's profile Send private message Reply with quote
Octavio



Joined: 21 Jun 2003
Posts: 366
Location: Spain
Octavio 25 Apr 2008, 14:17
edfed wrote:

i'll be happy to try to dev for MP3, as MP3 is one of the file format we cannot ignore. Wink

Yes we can ignore,there is wma,ogg etc... And i like to listen to music with
a portable mp3 player ,not with the computer.

>i will be a beta tester
Not very helpfull if you don't report tests results.
Post 25 Apr 2008, 14:17
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.