1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
FTP & Samba slow
(1 viewing) 1 Guest
Go to bottomPage: 12
TOPIC: FTP & Samba slow
#42045
Re: FTP & Samba slow 11 Months, 4 Weeks ago  
I've realised I messed up my tags in the main instructions which I've now fixed.

Out of interest, did you have to add a file to /etc/modprobe.d to blacklist the r8169 and point eth0 to the r8168 or not?

I am afraid I really don't know where to go to now. It is very odd that the hdparm test initially worked and does no longer and I can't think what to do about it.

What is the output to:
Code:

hdparm -I /dev/sda

Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#42048
Re: FTP & Samba slow 11 Months, 4 Weeks ago  
Out of interest, did you have to add a file to /etc/modprobe.d to blacklist the r8169 and point eth0 to the r8168 or not?

I hat to. Only updating did not change it.

Here is the requested output:

Code:

hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
        Model Number:       SAMSUNG HD103UJ
        Serial Number:      S13PJ1CQ816842
        Firmware Revision:  1AA01113
Standards:
        Used: ATA-8-ACS revision 3b
        Supported: 7 6 5 4
Configuration:
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  268435455
        LBA48  user addressable sectors: 1953525168
        Logical/Physical Sector size:           512 bytes
        device size with M = 1024*1024:      953869 MBytes
        device size with M = 1000*1000:     1000204 MBytes (1000 GB)
        cache/buffer size  = unknown
Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 32
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Advanced power management level: disabled
        Recommended acoustic management value: 254, current value: 0
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 udma7
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    SMART feature set
                Security Mode feature set
           *    Power Management feature set
           *    Write cache
           *    Look-ahead
           *    Host Protected Area feature set
           *    WRITE_BUFFER command
           *    READ_BUFFER command
           *    NOP cmd
           *    DOWNLOAD_MICROCODE
                Advanced Power Management feature set
                Power-Up In Standby feature set
           *    SET_FEATURES required to spinup after power up
                SET_MAX security extension
                Automatic Acoustic Management feature set
           *    48-bit Address feature set
           *    Device Configuration Overlay feature set
           *    Mandatory FLUSH_CACHE
           *    FLUSH_CACHE_EXT
           *    SMART error logging
           *    SMART self-test
                Media Card Pass-Through
           *    General Purpose Logging feature set
           *    64-bit World wide name
           *    WRITE_UNCORRECTABLE_EXT command
           *    {READ,WRITE}_DMA_EXT_GPL commands
           *    Segmented DOWNLOAD_MICROCODE
           *    Gen1 signaling speed (1.5Gb/s)
           *    Gen2 signaling speed (3.0Gb/s)
           *    Native Command Queueing (NCQ)
           *    Host-initiated interface power management
           *    Phy event counters
           *    NCQ priority information
           *    DMA Setup Auto-Activate optimization
                Device-initiated interface power management
           *    Software settings preservation
           *    SMART Command Transport (SCT) feature set
           *    SCT Long Sector Access (AC1)
           *    SCT LBA Segment Access (AC2)
           *    SCT Error Recovery Control (AC3)
           *    SCT Features Control (AC4)
           *    SCT Data Tables (AC5)
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
                frozen
        not     expired: security count
                supported: enhanced erase
        172min for SECURITY ERASE UNIT. 172min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50000f0008188624
        NAA             : 5
        IEEE OUI        : 0000f0
        Unique ID       : 008188624
Checksum: correct

Dennis Fabri
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#42050
Re: FTP & Samba slow 11 Months, 4 Weeks ago  
Well, it is using a decent UDMA mode so it is probably not that. I'm afraid I don't really know.
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#42062
Re: FTP & Samba slow 11 Months, 3 Weeks ago  
This morning I added a secondary hdd (just to check) and got the following results:

Code:

hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   2220 MB in  2.00 seconds = 1109.68 MB/sec
 Timing buffered disk reads:  228 MB in  3.02 seconds =  75.53 MB/sec
[root@server ~]# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2236 MB in  2.00 seconds = 1117.77 MB/sec
 Timing buffered disk reads:  290 MB in  3.02 seconds =  96.13 MB/sec
[root@server ~]# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2244 MB in  2.00 seconds = 1121.69 MB/sec
 Timing buffered disk reads:  304 MB in  3.01 seconds = 101.14 MB/sec



A few moments later I got the following message:

Code:

Message from syslogd@server at May 31 08:39:27 ...
 kernel:Disabling IRQ #19



This is what the values looked afterwards:

Code:

hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   1356 MB in  2.00 seconds = 677.79 MB/sec
 Timing buffered disk reads:    8 MB in  3.27 seconds =   2.44 MB/sec

hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   1364 MB in  2.00 seconds = 681.93 MB/sec
 Timing buffered disk reads:    8 MB in  3.17 seconds =   2.52 MB/sec



I am not sure if this message is related to the issue, but all commands were executed directly after a cold start and within about 2 minutes. Maybe this helps.

Thanks for your time so far.
Dennis Fabri
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#42066
Re: FTP & Samba slow 11 Months, 3 Weeks ago  
Have a look at this thread and perhaps try booting with the "irqpoll" option.

If it is a motherboard issue, it may be worth googling it with RHEL6 or CentOS6 as search terms. What is the M/B? Also does it have the latest BIOS?

[edit]
I tried googling "kernel:Disabling IRQ" and it turned up quite a few hits, and not just with RHEL6/CentOS6. It could be a motherboard chipset problem with various suggestions to possible solutions but not a definitive solution.
[/edit]
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Online Now Click here to see the profile of this user
Last Edit: 2012/05/31 15:18 By NickH.
The administrator has disabled public write access.
 
#42092
Re: FTP & Samba slow 11 Months, 3 Weeks ago  
The motherboard is an ASUS E35M1-M and it has the latest bios installed. That's typically the first thing I do.

I added irqpoll at boot and now it seems to work fine. After a night uptime:

Code:

 hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2132 MB in  2.00 seconds = 1066.40 MB/sec
 Timing buffered disk reads:  294 MB in  3.01 seconds =  97.79 MB/sec



But I have the feeling, that the irqpoll switch is a workaround and not a real solution. It seems that the intel-lan-card and the ahci controller share the same IRQ. I will try moving the Intel-card to a different slot and see if that helps.

Thanks for the help.
Dennis Fabri
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#42093
Re: FTP & Samba slow 11 Months, 3 Weeks ago  
Just got the result

The intel-card is now on IRQ 18 and I got the message that this IRQ is now disabled. Seems to be an issue with the nic or the driver...
Dennis Fabri
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#42103
Re: FTP & Samba slow 11 Months, 3 Weeks ago  
There are no later drivers. You are using the kmod ones (which, if I understand correctly, makes them independent of the kernel minor revision number). You could try the original ones from Intel which, if they are anything like the e1000e ones, compile cleanly, but I don't see that you'd gain anything as they are the same version number.

From reading around I think it is more a m/b chipset issue which you may be able to alleviate with a different NIC - but Intel ones are supposed to be good - or perhaps by manually assigning IRQ's on the m/b if it allows it. If you don't have a spare NIC, you may need to live with the irqpoll option.
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
  get the latest posts directly to your desktop