Ubuntu Installation :: Partition Alignment To Improve SSD Performance?
Jan 2, 2010
I'm trying to do a partition alignment on my main SSD to improve SSD performance and then install Ubuntu on the SSD. I can do the alignment with no problem but when I install ubuntu the alignment is erased. Is there a way to install ubuntu without getting rid of the alignment?
I have two SSDs on which I have configured md RAID 0, with a 16 KB chunk size. My understanding is that Wheezy (and later) installations are smart enough to align partitions on block boundaries, even in md RAID configurations, but to satisfy my own natural distrust, how do I go about actually confirming that it has done the right thing? I have a single root logical volume within an LVM partition, but neither the logical volume nor the LVM partition occupy all available space, and the LVM partition is offset from the end of the disk.
My concern arises from the fact that, when I look at the sysfs entry for my root partition:
Basically I'm wondering if there is any way to lighten Gnome and Ubuntu I would like to keep Gnome if possible. I am a pretty experienced linux (or for you hardcore GNU fans GNU/Linux) user having used it for almost 4 years and I just built my Arch system but have found that alot of the functionality that I've come to love about ubuntu isn't in the default Gnome package but that Ubuntu's Gnome is heavily modified so I want to switch back but do to my lack of modern hardware I can't run Ubuntu as smoothly as I want.
Below is my current hardware. Code: Intel Pentium III 733mhz 512mb of ram 8gb Hard Drive and a Dvd Drive Nvidia Geforce 6600 265mb pci gpu 100 watt power supply
I am also a Developer so I know I can compile the Kernel my self and remove some not needed junk and optimize it. But I was wondering are there some Highly intensive processes that don't really need to be running? The only thing I would be using Ubuntu for is Web Browsing, Coding, Gimp, Text Processing and probably Music; thats really all I need I don't do much else besides that. tl;dr: Basically all I'm trying to do is lighten Ubuntu and Gnome without putting 3 days worth of work into it.
I am running a ubuntu desktop machine as a server and use VNC from my windows machine to login via a LAN to the ubuntu machine. The login session is very sluggish and frustrating. I installed gnome-rdp to see if it would be better but I don't know how it works or what to do and if there is something else I can do to improve the performance. I have 3 gig of ram and the server is a dual celeron machine
I have a Gateway Laptop which is dual-booting Windows XP SP3 32-bit and Ubuntu 10.04, also 32-bit. The 64-bit version, would not install on my computer, even though the computer has 64-bit capabilities. It doesn't bother me that I use the 32-bit version, but something it is now doing seems to be affecting the way things work on my laptop. The computer has 4GB of RAM in it, an AMD Turion 64 X2 processor, and an ATI Radeon X-series graphics card. The monitor has HDMI capabilities. On the Windows side, it handles full-screen programs and operates very quickly. On the Linux side, I can also run things quickly. However, most programs on the Linux side are much slower-running than they would be on the Windows side.
Something I notice when my laptop goes into fullscreen on the Linux side, is that the color quality goes way down. You can see that it is trying to run in apparently 256 colors, and each individual pixel is very visible. It does not do this on the Windows side. Also, programs that I run on this half of the computer are very laggy, slow, and inefficient. I know that my computer has the video and processing power to handle these programs with ease, but it isn't utilizing all of it. How can I make Ubuntu run at a higher speed overall, by taking advantage of all four gigs of RAM and this 2.4 GHz Turion processor to run everything like Windows does?
I have got a Radeon X800XL built in my computer. I was able to play Quake 4 in high details once, so I guess my PC is quite fast. Anyway, I have trouble playing Anno 1503 and SuperTuxKart (sic!). While Anno 1503 is fairly unplayable, SuperTuxKart has got around 30 to 90 fps, depending on the situation. In my opinion, that's way to less.
My question is: How could I improve the 3d performance, to be able to play such legacy games as Anno 1503? Therefor I'll give you some information about my configuration and what I tried so far.
I run Ubuntu 10.04. That means, the driver provided by AMD/ATI (fglrx) does not work anymore. My Ubuntu is up to date.
I set the kind of graphics card and the graphics ram in the Registry of Wine. Disabling the compiz-fusion-effects does not improve the situation however.
I disabled KMS. That gave an amazing performance boost, but still not enough. I am still experiencing performance troubles like being unable to play Anno 1503, and some others.
I also created a Xorg.conf, trying to tweak some settings, but that does not improve the performance much. The config file is attached below.
How to improve or accelerate the 3d-performance. Maybe there is an beta-driver or some xorg-settings I did not find?
I have written a script as follows which is taking lot of time in executing/searching only 3500 records taken as input from one file in log file of 12 GB Approximately. Working of script is read the csv file as an input having 2 arguments which are transaction_id,mobile_number and search the log file having these two strings with one more static string that is "CustomCDRInterceptor",then format the searched data in prescribed format.
dns cache serThis is probably more of a network question but I figured some one who is a network expert might know. Currently my organization has DNS servers. But my questions is would setting up a cache server improve the performance any? When I first thought about it i thought probably not. But since it stores information in ram that made me think maybe it would improve network performance a little.
I was using centos for my business applications and now I am trying to work only with opensuse and install my other oprerating systems in it. I was always using vmware , but I decided to try another virtualization technologies other than vmware for testing , I searched the internet and found many other like virtualbox , kvm , xen. I concluded from my search that xen and kvm will be the faster type , I decided to test them, I choose xen, it is better than kvm. I installed opensuse 11.4 and installed xen hypervisor deployed two VMs windows xp and centos 4.8 , they are runing quite good but I have some questions:
1 : Isn't there anyway to improve graphics performance in xen guest , or change the video card memory or type ? 2 : Isn't there any way to copy and paste between the host and guest ? 3 : Isn't there any free application like vmware tools or virtualbox guest tools for xen ? 4 : I use these VMs to install some applications for my geophysics work which requires good graphic performance in the vm , also I don't them to be sluggish sometimes , which is better for that vmware or xen ?
I'm using mplayer and libcaca on Gentoo. My framebuffer (uvesafb) is running at 1920x1200 (I don't know how many characters that is) and mplayer has problems filling up the screen, so video and audio lose synchronization.
So I have built a program that takes a picture from two cameras every second and converts them both to jpeg format. The problem is that currently it takes ~2 seconds to convert a single raw photo to jpeg format, thus every second I add another raw photo (30 MB) to ram waiting to be converted to jpeg. So, theoretically the conversion to jpeg is running on a single core with hyperthreading, would I see better performance running the exact same process (a program pulling from a queue and converting to jpeg) running as a single process, or two concurrent processes? (both processes running on the same core, (so 1 thread on one clock cycle, the other on the other... (or one thread running on 1 core and the other on another core. What other steps would you take to improve the performance so there would no longer be a race condition?
I have a large HD (1 TBytes) on my Server and I need to install 11 SP1. I want to use this server for software development (Web apps with Oracle DB and Oracle Forms). Can You suggest how to partition my HD for best use and performance ?
I just wanted to know if having my laptop set to ondemand, will this affect performance in any way? I realize it increases the clock speed to performance when the CPU is under load, but does the time it take to go from ondemand to performance affect speed? Will there be any noticeable difference between the two setups? I have a dual core intel at 2.2GHz when in performance. When ondemand is set with no load it downclocks to 800Mhz.
OS: Ubuntu 10.10 I've been trying to get my HP DeskJet D2660 printer to work for a while now, but I am having several problems that I can't seem to get around. For the driver I have 2 options. The hpijs (hplip) or the hpcups driver. Neither of them work properly.
The HPLIP driver and control software keeps telling me that the stuff I print has printed correctly, but my printer does nothing. It just sits there laughing at me whilst I get popups on my monitor telling me that the print job start and completes. I have successfully printed the print head calibration paper and aligned them as told by the HP software, but after I have done so, it just goes back to sleep. Nothing prints, not even the test page. I can't understand why it prints the calibration sheet just fine and then, afterwards, it won't print anything else but tells me everything prints fine.
The HPCUPS driver works just fine, but it has these really bad shadows on everything I print caused by incorrect alignment of the print heads. There seems to be no option of correcting this using the HPCUPS driver. So, what I have is a HPLIP driver which allows me to calibrate but won't print, and a HPCUPS driver which prints just fine, but won't allow me to calibrate. My HPLIP driver version: 3.10.6 (official from Ubuntu) I've also tried downloading and installing the latest (3.10.9), but with no luck. Prints calibration just fine, then nothing else.
I thought that alignment of 4096-byte sector Advanced Format hard drives was automatically taken care of via Gparted or Disk Utility until I bought a Hitachi HTS547575A9E384 (Travelstar 5K750) and saw that Disk Utility showed my partitions to be out of alignment. I then realized that my WD, which I had bought a few months ago, probably had its jumper set to emulate a 512-byte sector legacy drive (512e) and is probably not set to the AF setting.
Straight to the problem.
I've searched many sites, some of which suggest using fdisk (others the proprietary software of the hard drive's manufacturer). It is essential that one change the arguments prior to changing the partition table as there is no way back (yet, as far as I know) without having to move data to another drive and starting all over:
I've been searching around for a way to do this, but none of the solutions I find seem applicable to Lucid. Is there, like, a Terminal command to change the alignment of desktop icons?
I'm trying to work out with Conky on my Ubuntu 10.04 x64.
Conky is set to Top Left alignment, but it doesn't seem to be ending up there at all. After changing all of the different alignments, it doesn't seem to move around much at all.
(Desktop Screenshot Attached)
My other issue, which may have something to do with the way my Conky is set up, is that I have a couple of icons on the desktop, but they only show up when I put my mouse over them, and in the next couple of seconds they go away. It seems to be related to the refresh frequency of conky, which seems to be all of my issues right now.
Another note, this conky code is essentially pulled directly from the conky website.
When I installed 10.04 in April, I started having all sorts of problems with my Virtual Terminals (CTRL-ALT-F*). First they were inaccessible completely, then they were there, but not visible, i.e. I could use them to login and run commands, but there was no screen output, then they were gone again, and the fight just went on and on. I just recently got this functionality back after months just messing around, testing different peoples solutions, and really just not being afraid to break the whole thing. Ultimately, it boiled down to nVidea graphics driver problems.
However, now I notice that outside of gdm, the screen is not aligned properly. It seems to be about 2 characters to the left and several lines lower than it should be on VT1-VT6, while gnome is aligned perfectly. I can use my screens auto-adjust to fix the problem, but when I switch to another terminal, the problem comes back. It's not really a huge deal, but after all this trouble, I really just want them to work the way they are supposed to work. Does anyone know of a way to set the screen alignment via software, or am I just stuck dealing with it?
I just ghosted a hard drive containing Win7 and OS11.4 to a new WD hard drive with 4K byte alignment. WD provides a tool to align Win7 (and it apparently needed it) but reports other partition types (Ext3/4) as corrupt. Here's the question: is there a way to get 4K byte alignment in Ext3/4 after installation, or do I need to reinstall? Is there an authoritative page on this for OpenSuSE/Kubuntu?
I would like to fix partition alignment on my SSD disk, and I am curious if it is possible to do it without handling data from disk and back. Is it possible with Gparted?Quote:
I want to change the alignment of GtkTreeView widget(Right-to-Left algin) i.e add columns to the rifgt of GtkTreeView and change the title of the column and its content to the rifgt of the column but I do not know how to do it
I use various hard disks in my computer. When I install a 13.1 disk, the six text consoles <Ctrl-F1> through <Ctrl-F6> are shifted to the left such that the first 2 characters in the line are off my flat panel screen. I use several different disks on this machine and all other disks are properly aligned. change the vga line in /etc/lilo.conf to vga = normal rather than vga = 773. This didn't fix the problem and resulted in another problem. If I adjust my flat panel horizontal adjustment, when I start XWindows, those screens are too far to the right. Is there a way to adjust the horizontal offset only for the consoles?
How can I disable structure alignment feature of gcc using command-line options ?I recently migrated to 64-bit OS, and doubt that I might be experiencing a structure alignment problem due to the new 64-bit architecture.I checked the sizes of the same C-style struct in both x86 and x86_64, and found out that they appear to be different by 20 bytes.I am not sure if this is due to structure alignment or the differences in data type lengths between two platforms.Hence, I will first disable the structure alignment feature, and then check the struct sizes again.
I'm doing a fresh install on my netbook and have purchased an 8GB SD card to expand storage space. I'm curious as to which directories can be mounted on the SD card without affecting performance as the write times and such are much lower on the card. I know that /home and /tmp can be mounted there.
I am having a lot of performance problems since my upgrade my ATI board does not get properly supported (tried a lot but nothing really helps)my keyboard typing is horrable : i have to see at each click of it got accepted ; cannot type text properly screen performance is bad - often the screen greys out and back to color (probably because of driver)