LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-11-2003, 01:20 PM   #1
homestead1000
Member
 
Registered: Jul 2003
Location: San Diego, CA USA
Distribution: RH 7x,8x,9x, RHE 3, Fedora Core1
Posts: 38

Rep: Reputation: 15
strange occurance with CP


Hi all,
Hope someone might have an idea what's happening.

If I copy the same 680meg file within the same partition to another folder repeatedly (testing load average and copy times) about the third time the job finishes in about 10 seconds and drives the CPU load average up to around 7 as well as hang the box for a few seconds (around 10 sec.).

I was able to reproduce this on a seperate but hardware/software identical server.

RH7.2 (2.4.7-10)
Compaq DL580
4 X 700mhz Xeon
2 gig RAM
cciss 5300 array controller (RAID5)

Any thoughts welcome.

Ed
 
Old 08-11-2003, 01:25 PM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
i dont know how/if raid fits into this but it sounds like your hard disks have not got dma enabled, what sort of output do you get from

hdparm -Tt /path/to/harddisk/device/file
 
Old 08-11-2003, 01:27 PM   #3
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
If you are using a journaled file system (ext3, or reiserf's) you'll need time for the journaling to take place. Moreover, the internal buffers become full and need to be flushed. When you do a steady copy, you don't give the system time to do its thing in the background, so it moves the operations to a higher priority to get done for safety's sake.

Cheers--
Charles
 
Old 08-11-2003, 01:38 PM   #4
homestead1000
Member
 
Registered: Jul 2003
Location: San Diego, CA USA
Distribution: RH 7x,8x,9x, RHE 3, Fedora Core1
Posts: 38

Original Poster
Rep: Reputation: 15
Not being familiar with hdparm I looked up the man for it.

a command line interface to various hard
disk ioctls supported by the stock Linux ATA/IDE device
driver subsystem.

I figured I would try it anyway and got this:

]# hdparm -Tt /data/testDBTest
/data/testDBTest not supported by hdparm

I figure this is because the 5300 is a scsi controller and wouldn't be compatible with hdparm.

Any other tools like that one that might work with SCSI?
 
Old 08-11-2003, 01:47 PM   #5
homestead1000
Member
 
Registered: Jul 2003
Location: San Diego, CA USA
Distribution: RH 7x,8x,9x, RHE 3, Fedora Core1
Posts: 38

Original Poster
Rep: Reputation: 15
AH! the journaling filesystem overhead... forgot about that. Using EXT3 and probably pushing it. This would make sense.

Thanks for the help.

Ed
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sed usage(only repace one occurance) feetyouwell Linux - Software 7 01-31-2005 02:25 PM
sed usage(only repace one occurance) feetyouwell Linux - Software 2 01-31-2005 04:08 AM
strange, strange alsa problem: sound is grainy/pixellated? fenderman11111 Linux - Software 1 11-01-2004 05:16 PM
Strange occurance? spotslayer Linux - Hardware 0 08-31-2004 06:11 AM
strange occurance ignus Linux - Security 3 08-04-2004 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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