Originally posted by Rexilion
View Post
Announcement
Collapse
No announcement yet.
Fedora 18 Will Stick To Using Tmpfs
Collapse
X
-
Originally posted by GreatEmerald View PostAnd there is always the option to, you know, not to mount /tmp as tmpfs. The /etc/fstab file and all.
Like it or not, it's still integrated in many sites :/ . And most of the time, the functionality it provides can be replaced by a gif file (like ads). Or a somewhat more advanced webpage using JS and the like. The fact that YouTube is migrating to html5 is a really good thing, I hope that many will follow soon. That will effectively extend the lifetime of my old HW since HTML5 is accelerated by the GPU whilst Flash generally is not...
As a sidenote, I find it very inconvenient that this plugin won't listen to TMP or TMPDIR variables (last time I checked). Then I could have fixed it whilst keeping /tmp as a tmpfs filesystem...Last edited by Rexilion; 08 December 2012, 09:57 AM.
Comment
-
Originally posted by Rexilion View PostAs a sidenote, I find it very inconvenient that this plugin won't listen to TMP or TMPDIR variables (last time I checked). Then I could have fixed it whilst keeping /tmp as a tmpfs filesystem...
Comment
-
Originally posted by GreatEmerald View PostThat's interesting, wouldn't it be possible to do it the other way round, then - export TMP or TMPDIR as /tmp/tmp and set /tmp/tmp as tmpfs, while leaving /tmp as regular space for all those poorly designed programs out there?
Comment
-
Originally posted by Rexilion View Postthat's insane, reread what you just typedAll opinions are my own not those of my employer if you know who they are.
Comment
-
Originally posted by Ericg View PostActually not that insane, confusing yes since theyre both named tmp but the idea works for those program who break FHS by storing large files in /tmp AND also dont respect $TMPDIR
The fact that you two are thinking it's a viable solution suprises me. Moving around important pieces of infrastructure, just to get a browser plugin functioning under every circumstance and to use a TMP variable that points to a tmpfs fs, is not a good idea.
The elegance of using a seperate dedicated fs for /tmp was (for me) to enable noexec and friends, and to prevent misbehaving programs filling my root partition. This utterly fails right now because of a browser plugin -_-' dumping it's entire RTMP stream to disk...
Comment
-
Originally posted by Rexilion View PostThe fact that they are both named tmp is the thing that bothers me the least.
The fact that you two are thinking it's a viable solution suprises me. Moving around important pieces of infrastructure, just to get a browser plugin functioning under every circumstance and to use a TMP variable that points to a tmpfs fs, is not a good idea.
The elegance of using a seperate dedicated fs for /tmp was (for me) to enable noexec and friends, and to prevent misbehaving programs filling my root partition. This utterly fails right now because of a browser plugin -_-' dumping it's entire RTMP stream to disk...Last edited by droste; 08 December 2012, 12:59 PM.
Comment
-
Originally posted by Rexilion View PostThe elegance of using a seperate dedicated fs for /tmp was (for me) to enable noexec and friends, and to prevent misbehaving programs filling my root partition. This utterly fails right now because of a browser plugin -_-' dumping it's entire RTMP stream to disk...
Comment
-
Originally posted by drosteRecent version of flash don't do that anymore (at least on my pc there are no flash* files in /tmp when flash videos are running). And for larger files or files that should survive a reboot there's /var/tmp.
Sidenote, free size of the partition which holds /tmp shrinks.
I use the '$PID and $FD trick' in a script so VLC can open these files on my parents computer. They start the flash app in the browser, press pause to let it buffer the video and click on a script. VLC then opens mentioning the fd and then they click on it to display the video in full screen at full quality.
If I let Flash render the video it's choppy and skippy, since everything is apparently done on the CPU. While VLC offloads it to the GPU (nouveau!). So the computer is able to meet today's demands. However, things have turned out bad when it comes to video streaming.
Originally posted by GreatEmeraldSo, the elegance of using tmpfs is to have misbehaving programs fill your entire RAM instead of your root partition? I fail to see the logic in that. Again it seems like you can't have a third option, it's either one or the other.
However, Flash is doing this on purpose and I cannot make it change it's behaviour unless I apply the '/tmp/tmp' trick which is IMHO not 'nice'.
Comment
-
Originally posted by Rexilion View PostI use the '$PID and $FD trick' in a script so VLC can open these files on my parents computer. They start the flash app in the browser, press pause to let it buffer the video and click on a script. VLC then opens mentioning the fd and then they click on it to display the video in full screen at full quality.
Originally posted by Rexilion View PostHowever, Flash is doing this on purpose and I cannot make it change it's behaviour unless I apply the '/tmp/tmp' trick which is IMHO not 'nice'.
And of course, the trick is not nice, but then your case is fairly isolated. There are few people with old PCs that use tmpfs and watch Flash videos. And since Flash is proprietary, not much can be done about it (unless you switch to Gnash/Lightspark).
Comment
Comment