Server :: Enable Buffered I/O For Increased Disk Throughput?
Sep 1, 2010How do I enable buffered I/O for increased disk throughput on Linux ?
View 3 RepliesHow do I enable buffered I/O for increased disk throughput on Linux ?
View 3 RepliesI am having a problem with my CentOS based server where the hard drive speeds are incredibly slow for both of the hard drives installed -
Code:
Timing cached reads: 16512 MB in 2.00 seconds = 8272.92 MB/sec
Timing buffered disk reads: 12 MB in 3.01 seconds = 3.98 MB/sec
I have looked around but do not understand the complexities of rebuilding kernel etc so would need some assistance. I have checked IO_support and it is set to 0
Code:
Here are the results for hardware installed after a quick lspci -v
Code:
If there are any noticeable incompatibilities here and how I could work to speed this up. I only have SSH access and could possibly get a KVM on it as it is currently locked up in a DataCenter.
I have implemented level 5 software raid (of 4 partitions on a SINGLE external hard disk). Implementing it on a single hard disk doesn't serve much purpose, I understand, but I did it for demonstration purpose only. The problem is when I read from the raid device into my laptop's hard disk, the time taken to transfer a 900 MB file is about 4 minutes (4 GB RAM) whereas the rime taken to transfer it from a pen drive is 43 seconds. Isn't raid supposed to work faster. However, the write to the raid device is faster than to a pendrive. Shouldn't it be taking data in parallel from the 3 partitions (as even a single disk has multiple heads) ?
View 2 Replies View RelatedI am running Centos 5.5 in vmware and recently had to increase my disk space from 20GB to 40GB. I understand that in linux, the increased disk space is not automatically reflected but as I am new to this topic, I am not sure how I can go about doing this. how to see what's the available space and how I can partition(?) this.
For your reference:
[root@localhost ~]# fdisk -l
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[Code].....
I was analyzing the Disk read using hdparm utility. This is what i got as a result.
Code:
# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 108 MB in 3.04 seconds = 35.51 MB/sec
Code:
# hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 3496 MB in 1.99 seconds = 1756.56 MB/sec I m not sure what does Cache read and buffered disk read mean.
I have read many articles on hdparam to calculate the disk read and write speeds and some on interface and CPU limits. But is there a structured way of calculating the maximum throughput of a server including all the subsystems. Like storage, CPU, network, memory and so on? So that I can create a script that i can run on a newly installed Linux machine and calculate the maximum throughput .
View 4 Replies View RelatedI have an enormous quadcore machine with 16gb ram and dual gigabit NICs. It used to be for MySQL but we have upgraded the whole database infrastructure so now this server is left floating. I had the great idea of turning this into a reverse-proxy (using apache mod_proxy) and it really handles a ton of requests. But I have a feeling that we are not getting the most use out of what it can offer.
Our traffic consists of a few thousand very small (less than 10 byte) ajax calls per second, and frequently I find we are running out of kernel allocated network stack to handle all the requests. Often we get the kern.log warning "possible SYN flooding on port 80. Sending cookies." and other things like this. Obviously we are not getting SYN flooded, we just have very high demand.
So far I have found a few kernel tuning guides to tell the kernel to allocate more of the base system memory for networking but every guide I have found has been for the purpose of increasing the performance between WAN links (direct backbones between offices etc) and usually with very large file sizes being the priority. One such example (and great) write up is here:
cyberciti.biz/faq/linux-tcp-tuning/
I was hoping some people could provide further input, such as along the lines of disabling nf_conntrack (to speed up socket set up/tear down time) or anything that will speed up a high throughput proxy like mine. Any links to studies or benchmarks between different configurations or hardware gets extra points!
I have a test RHEL5 box, sitting in a brand new Dell blade rack on a PowerEdge M610, with a lovely Emulex OCm10102-F-M FCoE card connected to a Cisco Nexus 5000 switch. The whole setup is extremely new (the cards only recently became available for purchase.) We've finally worked with Emulex to get the cards functional, and we are ready to some stress testing to the SAN. My question now is, is there a good tool I can use to generate a large amount of traffic to a LUN? The Wintel team used a windows-only tool that showed an average of 6gigs/second throughput, so I need something that can generate very large files and simulate a consistent throughput to the LUN. I found iozone, but I'm having a devil of a time with it.
View 2 Replies View RelatedI am using redhat linux enterprise 4.0. I have need to increase /home partition size, without loosing data.
View 1 Replies View RelatedI am doing an analysis with postfix, qmail and sendmail analyzing its performance.I need to send mail of size 10 MB, 50MB and 75 MB and analyze the time taken to send each mail to different users.I first used telnet, but file attachment is very hard there.Then i went for thunderbird but the file attachment size is just 5 MB. So is there a possibility to send such huge file size?
View 1 Replies View RelatedWhenever I run glxgears or glxinfo from an ssh or vnc session, I get "Error: couldn't get an RGB, double-buffered visual". I can run glx stuff fine on the console under KDE, but that's not practical for the intended users. I've tried updating drivers (it's a Dell R610 w/ Matrox G200ew videa), firmware, rpms, etc., even running ssh with -X or -Y, but to no avail.
View 9 Replies View Relatedi want to know the throughput of my pc after i enable RFS and RPS configuration. how to calculate tps or how to see throughput ......
View 1 Replies View RelatedIs there a way to enable low disk space notifications in f13. It's very useful sometimes. I couldn't find any obvious way and it has been bugging me for a while.
View 2 Replies View RelatedMy objective is when the throughput is increase my shell script is Print a message. But the Question is how to check the bandwidth.
View 1 Replies View RelatedI want to know the actual maximum throughput of my lan at home.Could you suggest some free monitoring tools for me to use
View 2 Replies View RelatedI have increased my RAM from 2 MB to 4MB, Vista can see most of it(it can't see more because it is 32 bits)but when I run Virtual box I can only see up to 2MB of memory.Is there anything I can do to fix this?
View 14 Replies View RelatedLets assume we have a 100mbps connection between two servers in same switch. then How much is the total throughput of the connection between servers. For example if I am downloading with 70mbps from other server , do I still have 100mbps upload BW available ? or 30mbps is available ? in other words for a 100mbps connection , the limit of download+upload is 100mbps ? or we have 100mbps download and 100mbps upload available ?
View 12 Replies View RelatedI have pc with two NIC's (eht0 and eth1). I want to test throughput switch/router.I can ping on both interfaces.Connection Diagram:
eth0 -> Patchcord -> testing devices -> Patchcord -> eth1
I run two iperf:
-s -B 192.168.1.10 (eth0)
-c 192.168.1.20 -B 192.168.1.20 (eth1)
Results:
[ 3] 0.0-10.0 sec 4.45 GBytes 3.82 Gbits/sec
The test results are false because I use 100Mb/s NIC's. I can't use two pc's for test.I tried to do the same test under windows 7 x64 it and works properly, but under windows xp there occurs the same problem like under ubuntu.
I accepted the latest Natty update about which I was notified a couple of days ago (I don't remember exactly). I don't remember a new kernel being pushed out, but for the record I'm on 2.6.38-8-generic right now. I'm trying to interact with a USB compact flash reader and I'm getting ridiculously low throughput (less than 1 MB per second). Before this latest upgrade, I don't remember this being a problem.
Better yet, does anybody know what might be wrong and what I might be able to do to fix this?
I recently installed Deluge 1.2.0 from the following PPA:[URL]I using this on two different Linux computers. One is running Linux Mint 8 and the other is running Ubuntu Netbook Remix 9.10. The first time on either computer when I enable WebUI in the Deluge GUI it works fine. However if I ever disable it in plugins section I am subsequently unable to re-enable it (doesn't appear in the side panel again). Rebooting or reinstalling Deluge seems to have no effect.Is this a bug or am I doing something wrong?
View 3 Replies View RelatedHaving finally got Samba shares and printer shares working on my Lucid Lynx server, I've noticed that the throughput from/to those shares is very slow to what I was used to when I had those shares on a W2K server.Having Googled this problem, I noted that there was a known issue with this in Karmic (believe Brian Wu was looking at it). However, I don't see any results in Google as to this being a problem in Lucid.
I know ipv6 can cause a problem in this regard but having issued the command:
lsmod | grep inet6
I know that ipv6 is indeed disabled on my Lucid server. Any further information on whether the error reported in Karmic still applies in Lucid, and can this be addressed in any way?
enable my usb media? such as Usb Flash Disk, Usb Mobile Broadband, Usb Modem, etc. when i run lsusb on my server 9.04, here is the output :
[Code]...
my flashdisk is Kingston Technology Data Traveler 2.0
I just installed fedora 12 on my system. When I run any command with sudo the following line appears. Mario is not in the sudoers file. This incident will be reported. For the record, I am the administrator of this system. Not unauthorized to run sudo.
View 1 Replies View RelatedAccording to Phoronix [URL]... aspm&num=1 (which seems to only test Ubuntu kernels) the problems should affect all users of the affected kernels, including Debian's, but that article provides a fix. I don't remember anyone here mentioning lower battery life and increased heat on their mobile platforms, though.
View 1 Replies View RelatedUsing Openshot, flowblade, or Kdenlive, when video gets rendered into mp4, it comes out at increased speed, both audio and video (seems like double speed but could be a different ratio)
When I play the exported mp4 with VLC for example, it shows the proper video length, not shortened. The video plays at high speed and for the second half of the video it just shows the last frame of the video until it runs out of time.
I have used Openshot extensively and have never had this problem, so I installed all the other video editors I could, and the problem persists (pitivi has a dependency problem so I haven't been able to use it).
I have tried several video players as well, all doing the same (VLC and Smplayer)
I am running Debian stable jessie, 64 bit, xfce
Code: Select allcpu:
AMD A6-3670 APU with Radeon(tm) HD Graphics, 800 MHz
AMD A6-3670 APU with Radeon(tm) HD Graphics, 800 MHz
AMD A6-3670 APU with Radeon(tm) HD Graphics, 800 MHz
AMD A6-3670 APU with Radeon(tm) HD Graphics, 800 MHz
[Code] .....
I installed F13 on a few ACER desktops with 4 GB ram. Recently I tried to upgrade the RAM to 8 GB. But after I plugged in the extra two 2GB ram sticks inside, the system still feels 4 GB. I had double checked with ACER and confirmed that 8 GB is supported by the motherboard. Is there any shortcuts to let the system recognize all the 8GB ram rather than reinstall the whole system.
View 13 Replies View RelatedAfter increasing the volume on banshee about the half of it the sound goes off. I have to decrease the volume in order to make it work
My hardware config is:
AMD phenom II X4 840 Processor 3.20 GHZ
RAM 4 Ghz
HDD 1 T
ATI VIDEO
VIA HD SOUND CARD
I am running 11.04. After an update about a week and a half ago, the time to wake from suspend increased from about 3 seconds to well over 40 seconds. It now, sometimes, takes me longer to wake from suspend than a normal boot takes. Has anyone else encountered this problem/found a fix or workaround?
View 1 Replies View RelatedI have this directory with multiple images 'pics' and the size is 20mb and I want to make a .zip or .rar package of this directory but with an increased size so the .zip/.rar file will be 100mb, and then when you extract it the file size is the original 20mb. I want to make the result file bigger, no compress it. I need to put all the directory in one single file .zip or .rar but it has to weight more (100mb), maybe it can be done with another application. By the way, I have a centos 5 from command line.
View 2 Replies View RelatedI have not tried this, and I am only wondering about the result.Let's say that I have a PC/Laptop with two network devices: an ethernet and a wireless. Can I connect both of the to the same network (if this network allows both connection) to increase the transfer rate between the PC/Laptop and the server???
View 5 Replies View Related