Between ordinary Linux and embedded Linux? Esp in the context of a machine that is not resource limited eg built around commercial mobo with a gig of DRAM and CF for HDD
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
So, nothing like pagefile in XP that might trash a flash based drive?
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
You are talking about Linux here. If you want a swap file or swap partition, use one. If you don't want one, don't use one. If you want to have a swap file/partition for when you really need it, but you don't want to write to it unnecessarily, set your swappiness to 0 (or at least very low).
There is no distinction between "embedded" Linux and "non-embedded" Linux in the way there is between "embedded" XP and "non-embedded" XP. Use the features of Linux that you want on the platform you want - you are not restricted to someone else's idea of what features an "embedded" OS should have.
As for using swap on a flash drive, it depends on the type of flash drive you are talking about. If it is a modern flash SSD, then you can happily use it for swap without worrying much about wearing it out. But if it is a compact flash card, for example, then it will be slow and of limited life span.
It's got to be fast CF for cost reasons. If only somebody did a fast and cheap SSD with 4GB - that's already a lot more than I need.
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
For CF, you will want to avoid doing much swapping. It's okay for occasional use (i.e., have a very low swappiness). The write endurance per segment of a CF flash is going to be lower than for a decent SSD hard disk, and there are far fewer segments to spread the wear - thus they have lower endurance.
I intend to do no writing from the application it is running. On a related theme, any idea of the practical time differences between a CF x200 versus a 5400rpm 2.5" drive when it comes to booting a PC?
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
CF or SD will fail lethally if power goes off unexpectedly. This is due to the internals of the cards and can't be mended by any file system, driver or whatever external means.
To be safe you need to keep power up after the last write access for a minute or so.
Given that the application I will be running does not write to flash, would that be a problem with the OS?
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
I've decided to try out Ubuntu 9.10 for Netbooks, since it is designed to run from flash.
However, I need to run Wine on top of it. Does than mean when it comes to soundcards I should load the drivers (if available) on Ubuntu first, or load Windows drivers with Wine?
I need Wine to run a specific VST host, and hopefully asio4all. But not sure what loads where.
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
Hardware drivers need to run in Kernel mode. AFAIK, Wine can't do this,so you do need native Linux drivers for your hardware.
There are several projects that run Windows VSTs on Linux. AFAIK, they do use Wine technology, but they don't simply run Wine, but they implement a VST host in Linux and use some Wine stuff to load the VST DLLs an have them display their GUI.
There are at least two such commercial projects: V-Machine and Receptor. Both come with Linux installed on the vendor's hardware. V-Machine uses a product called "VFX-Software" as the VST-host. Receptor seems to have built their own stuff on top of Wine libraries. AFAIK, there is a similar open source project, as well, but I've no insight into that.
AFAIK, VFX software is available to run in Windows, Mac and Linux, but I don't know if it's sold to end-users, at all.
Why not try V-Machine by SM-Pro ? It's very solid, the price is similar to a Netbook, it has professional audio-I/O already installed and it runs an appropriately configured Linux including the drivers.
A versatile standalone audio processor. I've set up a demo on a mini-itx board running XP (not embedded) using VSTHost, which apparently will run under Wine. I'd like a nice rapid flash bootable port of that stuff onto Linux (Ubuntu).
I've joined the Ubuntu forums and downloaded the Ubuntu 9.10 for Netbooks that's designed to run from flash, so hopefully the killer writes problem is already taken care of.
However, nothing ever goes smoothly, especially given that I know absolutely nothing about Linux.
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
OK - I'll look at it. However, it's got to be hidden away in its own box with just an on/off power switch
Just looked at it, and it's pretty much what I want to build. Problem is, I can do it at a h/w cost that is around 1/3 of its retail price, so it's not worth us buying it in. I guess we will be competing in a similar market.
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
But I doubt that it's possible to sell a V-Machine workalike for the price you suggest.
BTW, while V-machine is great (and the price not much too high if it would be possible to run any VST plugin), the great problem that prevents V-Machine from being widely accepted is that it can't cope with the protection mechanism companies like NI use. A built-in USB-"key" and full software support for same would make it a bestseller.
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
OK. Does look rather expensive. I just need a fixed function - boot and run with no user tweaking.
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.