USB keys degrade rapidly. SSDs dont.
Writing 4GB/hour on a 40GB SSD gives a life expectancy of about 4000 days.
Wel, you forget one important item here: these numbers are valid if TRIM is being used. As far as I know that is not the case on STB's (or even on any Linux system).
Without TRIM degradation is a fast process......
I am also very surprised about the statement that configuring a swapfile slows down operation.
Fisrt, it prevents crashes.
Ah, but that is a totally different aspect. This is only the case when the system is suddenly in need of more memory then is available. During normal operations this should never be the case.
There are a few situations, where ViX automatically creates and activates a SWAP-file: during EPG-import (as the parsing process eats a lot of memory), when doing an online update and on making a backup image.
Second, Linux does not access swapfile (or very little) unless it is running short of main memory.
You can check how few accesses are done by doing regularly.
Enigma uses the SWAP as normal memory. When a box has just booted, available memory is high. During normal use, the amount will decrease (because Linux finds that memory not used = memory spilled). This is also the case when activating a SWAP: at first it is not/hardly being used, in the course of time more will be used.
Although I have no marks to prove that, I think that live memory is and will always remain the fastest memory available. And not only the speed of the memory itself counts: it's about the whole process that will take its time.
So for me the question remains: why would you (again: in normal operations) want to use a SWAP-file. As one thing is for sure: it can never make a process go any faster. And especially not on expensive, fast deteriorating SSD........