XFileSharing Pro - How to specify the video converting partition?

Message
Author
venture89
Posts: 95
Joined: Aug 30, 2011 12:11 am

How to specify the video converting partition?

#1 Postby venture89 » Oct 10, 2012 7:40 am

Hello,

We have a server with a 4x2TB RAID 10 array + 120GB SSD drive.
We use XFS for a video sharing site.

Would it be possible to specify the SSD partition as the initial storage where files will be first uploaded to and run through mp4 plugin (after which they will be transferred to the RAID 10 SATA partition)?

Has any one done this before?
Thanks.

ufkabakan
Posts: 332
Joined: Apr 13, 2011 9:37 pm

#2 Postby ufkabakan » Oct 10, 2012 9:29 am

I dont use Video Sharing mod before but i think this system use cgi-bin/temp folder for new uploads and waiting converting files.

You cant change easly this temp folder, but you can mount a SSD parttion to this folder maybe.

Another alternative, create a small storage Upload server on SSD disk and after converting files, transfer to another FileServer on SATA Disk.

venture89
Posts: 95
Joined: Aug 30, 2011 12:11 am

#3 Postby venture89 » Oct 15, 2012 4:58 pm

Can some one confirm that XFS is using /tmp folder for uploaded videos that are waiting to be converted?

Or does it copy converting videos to /tmp first?

If a different partition is used in any part of the converting process we can mount that partition on a SSD?
Thanks.

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#4 Postby randy » Oct 21, 2012 6:21 pm

wanna know this too.

admin? please help

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#5 Postby ankurs » Oct 22, 2012 6:54 am

venture89 wrote:Can some one confirm that XFS is using /tmp folder for uploaded videos that are waiting to be converted?

Or does it copy converting videos to /tmp first?

If a different partition is used in any part of the converting process we can mount that partition on a SSD?
Thanks.
they dont wait in /tmp , but are stored in uploads folder & are encoded from there

its not possible to use a diff partition/device for encoding with default script, maybe with some customization you can archive this

And you don't need a SSD for encoding a SATA disk is enough, encoding doesn't need random io.

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#6 Postby randy » Oct 22, 2012 7:50 am

but 1000 videos will! and it takes days!

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#7 Postby ankurs » Oct 22, 2012 8:09 am

randy wrote:but 1000 videos will! and it takes days!
encoding needs cpu & not disk io, SATA is enough!

unless you are encoding multiple HD resolutions files

afdah
Posts: 147
Joined: Jan 27, 2012 2:23 pm

#8 Postby afdah » Oct 22, 2012 8:54 am

i agree with ankurs. you need cpu power. sata hdd is enough. the video encoding mod got its own queue system to encode videos.

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#9 Postby randy » Oct 22, 2012 9:34 am

ok thx for the info.

venture89
Posts: 95
Joined: Aug 30, 2011 12:11 am

#10 Postby venture89 » Oct 22, 2012 11:45 pm

Thanks. I think SSD is more for serving popular files. If only XFS has this mod. Thanks