Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lagging...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
darimik
n00b
n00b


Joined: 28 Dec 2006
Posts: 10

PostPosted: Sun Mar 25, 2007 3:03 am    Post subject: lagging... Reply with quote

Hello,

Whenever I am burning a DVD with gnomebaker, or unraring an image, the system is lagging.. I do not think this is a hardware problem, since it works perfectly on windows..

I have Dual Core Intel processor. 1gb of RAM..

any ideas ?

Thank you
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Sun Mar 25, 2007 3:38 am    Post subject: Re: lagging... Reply with quote

darimik wrote:
Hello,

Whenever I am burning a DVD with gnomebaker, or unraring an image, the system is lagging.. I do not think this is a hardware problem, since it works perfectly on windows..

I have Dual Core Intel processor. 1gb of RAM..

any ideas ?

Thank you


Try building your kernel with Low Latency Desktop mode and CFQ as your default I/O scheduler. Also, make sure that DMA is activated on your hard drives. hdparm /dev/sda
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
darimik
n00b
n00b


Joined: 28 Dec 2006
Posts: 10

PostPosted: Sun Mar 25, 2007 5:10 am    Post subject: Reply with quote

Thank you!!!! It worked.. Except for the DMA

Code:
# hdparm -d1 /dev/sda
/dev/sda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device


Code:
# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2288 MB in  2.00 seconds = 1144.21 MB/sec
 Timing buffered disk reads:  134 MB in  3.03 seconds =  44.24 MB/sec


Code:
# hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
        Model Number:       Hitachi HTS721060G9SA00                 
        Serial Number:      MPCC14Y3GVAA8E
        Firmware Revision:  MC3OC10H
Standards:
        Used: ATA/ATAPI-7 T13 1532D revision 1
        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:  117210240
        LBA48  user addressable sectors:  117210240
        device size with M = 1024*1024:       57231 MBytes
        device size with M = 1000*1000:       60011 MBytes (60 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 32
        Standby timer values: spec'd by Vendor, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 8
        Advanced power management level: 128 (0x80)
        Recommended acoustic management value: 128, current value: 128
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=240ns  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
           *    General Purpose Logging feature set
           *    WRITE_{DMA|MULTIPLE}_FUA_EXT
           *    SATA-I signaling speed (1.5Gb/s)
           *    Native Command Queueing (NCQ)
           *    Host-initiated interface power management
                Non-Zero buffer offsets in DMA Setup FIS
                DMA Setup Auto-Activate optimization
                Device-initiated interface power management
                In-order data delivery
           *    Software settings preservation
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
                frozen
        not     expired: security count
        not     supported: enhanced erase
        34min for SECURITY ERASE UNIT.
Checksum: correct


Any ideas? The system is not lagging anymore.. I just really want to get the most out of it:)

Thank you
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sun Mar 25, 2007 5:58 am    Post subject: Reply with quote

Quote:
Timing buffered disk reads: 134 MB in 3.03 seconds = 44.24 MB/sec
You have an sata drive,- dma is turned on by default on sata drives (and hdparm does not work on sata drives). If you didn't have dma on, you would be getting ~14MB/s transfer rate instead of above.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Sun Mar 25, 2007 4:06 pm    Post subject: Reply with quote

Ok, cool, and ppurka is right, you should be good to go now.

Alot of people believe that the -ck kernel patchset (or -ck based patchsets) can really help with problems like this as well.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum