LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-09-2011, 04:47 PM   #1
gamewolf
Member
 
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Rep: Reputation: 16
Best filesystem for game server?


I have googled around but couldn't find anything definitive on The pros and cons of the many different filesystems available. I am wanting to host a minecraft server on Slackware and would like to know the best filesystem to use for performance.

While on this topic, could someone explain what good partition layouts there are? I see so many different ones that separate var and tmp but I'm not really sure if any of that is necessary.

Thanks!
 
Old 10-09-2011, 05:09 PM   #2
vorbote
Member
 
Registered: Aug 2009
Location: 2,625 m of paranoia above sea level
Distribution: Arch Linux, Debian GNU/Linux, Fedora, Void Linux, FreeBSD, OpenBSD and Win10
Posts: 77

Rep: Reputation: Disabled
In my experience, ext4 is a fast, well-rounder filesystem that can be tuned up for even better performace. Although I take whatever Phoronix puts out with a ton of salt, their tests seem to indicate I've not dreamed up this :-). Some people will say that XFS is the bee's knees but you have to spend a lot of time tuning it up to your liking and OTOH it isn't as fast with small files. If you want raw speed, you can even mount the filesystem without a journal...
 
Old 10-09-2011, 05:18 PM   #3
vorbote
Member
 
Registered: Aug 2009
Location: 2,625 m of paranoia above sea level
Distribution: Arch Linux, Debian GNU/Linux, Fedora, Void Linux, FreeBSD, OpenBSD and Win10
Posts: 77

Rep: Reputation: Disabled
Ahh! On the partition thingy. The wisdom has changed a lot. Those schemes with 20 partitions are from the stone age when disks were small and more expensive than solid gold. You'd take your US$100000 worth of disks and quilt them on the filesystem to create a, say, 5 GB super duper fileserver. (Been there, done that).

Today, the best wisdom is: Install the OS in one partition with room to spare, Linux distros don't support separate /usr nowadays anyway, a reasonable swap partition or several in different disks, and the rest for data perhaps using LVM to slice and dice. If you expect heavy use of /tmp you may want to give its own partition with an even faster filesystem (for example, ext4 with no journal) and for /var... These days you can tweak syslog and logrotate to keep log file growth in check.
 
Old 10-09-2011, 05:31 PM   #4
the3dfxdude
Member
 
Registered: May 2007
Posts: 730

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
All the front contenders for filesystems all perform the same necessary functions of serving files. Now I'm sure there are use cases which make one better than another performance wise. With a minecraft server, I can't tell you where you would actually fit (and I slightly doubt that filesystem I/O is a bottleneck for a game server). Now it's pointless to sacrifice stability with performance especially with extra tweaking for fringe features. If I were you, I'd pick a stable run of the mill system, like ext4. If you really want performance, spend the money and buy better hardware.
 
1 members found this post helpful.
Old 10-09-2011, 05:35 PM   #5
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Rep: Reputation: 119Reputation: 119
ACK on ext4.

There are different reasons why one might have separate partitions.

One reason is safety from a filesystem filling up through runaway processes. Typical candidates are /var and /tmp. I tend to use a tmpfs for /tmp anyway.

Another reason is stability across system upgrades. Typical candidates are /home, /usr/local and /opt.

And then there is paranoia. like I still keep /boot in a separate partition...
 
Old 10-09-2011, 06:14 PM   #6
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by vorbote View Post
Today, the best wisdom is: Install the OS in one partition with room to spare, Linux distros don't support separate /usr nowadays anyway ...
Can you explain what you mean by this statement please? I run a dedicated /usr partition all the time - and a separate partition for each of /var, /tmp, /home and /opt. I haven't had a problem yet with any of the Linux or BSD OSes I've used.
 
Old 10-09-2011, 06:20 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by vorbote View Post
Ahh! On the partition thingy. The wisdom has changed a lot. Those schemes with 20 partitions are from the stone age (..) Today, the best wisdom is: Install the OS in one partition with room to spare, Linux distros don't support separate /usr nowadays anyway
"Wisdom", eh? Unless you've experienced nobody being able to login anymore, logging stopping and services not (re)starting partitioning schemes more elaborate than "/ + swap" probably don't make sense to you. And BTW Linux distributions do support separate /usr or whatever else partitions pretty much OK.


Quote:
Originally Posted by gamewolf View Post
I am wanting to host a minecraft server on Slackware and would like to know the best filesystem to use for performance.
While a wee bit old http://www.minecraftforum.net/topic/...icated-server/ states "Minecraft servers use little resources so it can run off pretty much any system" so if that's still valid then as far as specs go, this being a Java-based service, what probably matters most is plenty of RAM as you don't want to swap to disk.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] phpsite not showing images (buttons) home server for game server. jmdennis1987 Linux - Server 2 01-06-2011 04:00 PM
SUSE Enterprise Server vs normal (game server) AZaraT Linux - Software 2 06-16-2006 08:36 AM
Setting up a FTP server and Game server Spyiish Slackware 38 11-01-2004 05:32 AM
game not receving game list from master server Rnastyracer Linux - Games 2 04-02-2004 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration