LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-02-2008, 04:54 PM   #1
slope
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Rep: Reputation: 0
How to partition disks for best Vmware performance?


The plan is to run Xubuntu 8.04 64 as a Host OS in VMware. From within Host I will run vmware workstation with several guest os.
I have played around with vmware now for a while and I decided to loose my dual boot and run vmware.
During testing vmware I have come to that for best performance I will run a slim but still user friendly host so I chose xubuntu.
My plan was to have host os running from raid 0 with 2 disks preferable using the onboard raid adapter. Well that part did not work out for me so I guess software raid it is.

My overall goal is to have best possible performance within the limitations of the hardware I have. No room for buying raid controller card or extra disks at the moment.

If all this seems too much to answer pls help me eve with one Q or any links/articles on the subject

1: What should I do when partitoning the drives, how many partitions should I choose and from which physical disk? swap, /root, /home, /usr was the plan. should I also have /var?
2: How can I best utilize the disks, as I have 5 disks and I will use 4 of them. I would not have ie winxp use all space within a 500 GB drive, but say max 50 GB. How can I set it up so I can use the free diskspace?
3: Could I take a given amount of all 4 drives to make up a raid 0 array, and will doing so actually give me max performance? (hw raid 0 gives better performance when adding additional drives is it also true for sw raid?)
4: If I could use space from all 4 drives for raid 0 array what partitions should I have running from that raid 0 array?
5: What filesystem should I choose for the different partitions? ie my /home directory will hold both smaller files but also music+movies collection. XFS, JFS or ReiserFS?
6: Does the choice of filesystem and partition play a big part when it comes to overall performance today? Reading articles on the net it seems people are divided on this.
7: Can I set up boot from say a part of the winxp drive and then have xubuntu (host os) installed in raid 0, or best of all force linux to boot from a raid 0?
8: When installing apps and software from package manager synaptic, can i make sure everything is installed in /home?
9: If this was a pure windows box i would use raid 0 to install windows, and have all files/data on a separate drive.
Am i thinking correctly here when I will try to use 2 disks in raid 0 for the xubuntu+vmware? I'll guess most of the reading/writing of disks will take place from host xubuntu?

My system:
Intel Q6600
8 GB Ram
Asus P5N E SLI [Limitied to 4 x Sata]
2 x Cuda 750 ES 2
2 x Cuda 500 ES 2
1 x Caviar 750
Bios version 801
OS Xubuntu 8.04 64 Bit

Hopefully someone can push me in the right directin here.

Last edited by slope; 07-02-2008 at 05:16 PM.
 
Old 07-02-2008, 06:16 PM   #2
kenoshi
Member
 
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 32
Not sure if you are saying you want to dualboot or not.

Anyway, rule of thumb is:

1. keep the host OS simple...I don't remember if you need space for temp files used by VMWare workstation in /var...doesn't hurt to have it on its own partition anyway
2. you can use mdadm to create striped drives from equal size partitions on each of the 4 drives. Use that for VM storage.
3. Don't use software raid other than raid 1 for root partition. Makes troubleshooting a PITA if something goes wrong
4. for your first time off, just stick to ext3. XFS/JFS requires good understanding of how journaling works and storage fundamentals to get the best performance out of them. Besides, your stuck with 4k pages anyway on linux.

Hope this helps.
 
Old 07-03-2008, 02:50 AM   #3
slope
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Thx.
No I do not want dualboot no more.

So I put host os on a singel drive with no raid. hda. I'll just go for ext3 then for now at least.
Then I can put the guests on a raid 0 made up from 2 disks. I've been told to try to put /temp on a different disk then the vmware storage due to performance, so i can put /temp on the 4th disk.

1: Whatabout /root? Where should I put /root and how big should it be?

2: What about /home, I'll guess this used for vmware storage?
 
Old 07-03-2008, 05:55 PM   #4
slope
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Guess I messed things up here

Ok now I can not log in.
The partitioning went ok so did the installation. After reboot I could not log in. I had set up /home on the raid 0.
I might have messed up with primary/logical partitions. The only thing I can think of is that I have put more primary partitions then what the system will allow.

I can run terminal when logged in as root so I might be able to change this from gparted?
 
  


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
My Slackware 10.2 can't find SCSI disks on VMware Workstation 5? jabao_ron Slackware 1 03-21-2007 03:22 PM
Optimize vmware for 3d application performance? Thermodynamic Linux - Desktop 2 11-18-2006 02:50 PM
Two identical disks, different performance webno Linux - Hardware 6 04-11-2006 10:08 PM
performance of various disks... ronanio Linux - Enterprise 1 03-13-2006 07:00 AM
gnome performance with vmware 4 littlra Red Hat 3 09-02-2003 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:57 PM.

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