LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-29-2013, 12:15 PM   #1
kostyan5
LQ Newbie
 
Registered: Jul 2013
Posts: 1

Rep: Reputation: Disabled
File I/O Throughput Problem


I have an IBM x3650 M4 server (64-bit) running Ubuntu 13.04 Desktop (32-bit). I realize that this is a non-standard setup by it's being driven by other requirements. I am seeing slow file writes accross the board (to HDD, to USB, to network mount). The file writes seem to peek at 1.3Mb/s. The expected speed of my RAID setup is 180Mb/s.

Here's what I tried:

1. Boot Live Ubuntu 11.10 64-bit. The file writes are as expected, 180Mb/s.
2. Boot Live Ubuntu 13.04 32-bit. The file writes are slow, 1.3Mb/s.
2. Boot Live Fedora 19 32-bit. The files writes are again as expected, 180Mb/s.

At this point, it looks like something in the Ubuntu 13.04 32-bit kernel is not being configured correctly to work with the 64-bit hardware. Fedora 32-bit seems to work just fine.

Would anyone happen to know what could be causing this?
 
Old 07-29-2013, 12:41 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
Sounds like a bug in the kernel, plain and simple. I'm willing to bet it has nothing to do with the CPU being capable of 64-bit addressing, as all modern CPUs are capable of that, and there's no such thing as "64-bit hardware" besides the CPU.

I believe Ubuntu 13.04 uses kernel 3.8.8 by default, while Ubuntu 11.10 uses 3.0.0. Fedora 19 seems to run either 3.9 or 3.10(?). If my theory is correct, the 64-bit Ubuntu 13.04 Live DVD should have the same performance issues.

It's difficult to say what what could be causing this without knowing a bit more about your setup and the tests you ran. Since you're seeing poor performance across the board rather than with a particular device, it's probably not an issue with a controller driver. At it happens both with local file systems and network mounts, bugs in file system drivers are also pretty much ruled out.

If you can't avoid using an affected kernel, check the logs for any errors. Run iperf tests to see if network performance in general is affected. Also, run dmesg and see what the kernel says about ACPI, PCIe and interrupts during boot.
 
Old 07-29-2013, 01:58 PM   #3
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,137

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
If you have more than 4 GB RAM you might run into bounce buffer issues, where the OS is programming DMA with 32-bit physical addresses, then copying the data to/from high mem. Check CONFIG_HIGHMEM64G and CONFIG_ARCH_DMA_ADDR_T_64BIT.
 
Old 07-29-2013, 02:50 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
If you have more than 4 GB RAM you might run into bounce buffer issues, where the OS is programming DMA with 32-bit physical addresses, then copying the data to/from high mem.
That can certainly be an issue with 32-bit systems with more than 4 Gb memory, but I wouldn't expect it to cause a 99% decrease in performance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
NS2: tcp throughput problem azsuselinux Linux - Software 0 04-29-2013 06:44 PM
Throughput problem with MPT Fusion SAS herr_tichy Linux - Server 1 11-14-2010 04:26 PM
FC2T3 - NFS throughput problem kapeller Fedora 0 05-17-2004 04:32 AM
A bizarre serial hardware modem throughput problem mark_shroyer Linux - Networking 2 08-06-2002 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:58 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