Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Strange multiple hard disk io activity

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Hardware
View previous topic :: View next topic  
Author Message
nordle
LXF regular


Joined: Fri Apr 08, 2005 10:56 pm
Posts: 1500

PostPosted: Sun Jul 23, 2006 3:45 pm    Post subject: Strange multiple hard disk io activity Reply with quote

I have two disks on primary controller, PATA, master+slave by jumper.

I'm in the process of copying 10GB of opensuse goodness from hdb to a samba share on another machine via konqueror's url smb://servername/sharename/dir

Konq has two tabs, local tree and smb tree, and I just did a right click copy and paste.

What is strange, I noticed that gkrellm was showing 15MB/sec throughput on both hdb and 12MB/sec on hda (both drives on original machine).
If this is true, then its a bizarre waste of power, resources, time etc I mean, does the data seriously have to go from hdb to hda then to the remote server, that seems very odd.

Is this real? How can I check that this is truly happening and its not some weird little bug in gkrellm?

If its real, does anyone know if its supposed to be like that or could it be:
- Hardware bug (mobo's disk controller being weird)
- KDE bug
- samba bug
- kernel bug
etc

Thanks for any suggestions.
Back to top
View user's profile Send private message
wyliecoyoteuk
LXF regular


Joined: Sun Apr 10, 2005 11:41 pm
Posts: 3422
Location: Birmingham, UK

PostPosted: Sun Jul 23, 2006 7:15 pm    Post subject: RE: Strange multiple hard disk io activity Reply with quote

Depends on how your PC (and NIC, and Samba) is setup, there could be temporary buffer somewhere on hda
_________________
The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
Back to top
View user's profile Send private message
ollie
Moderator


Joined: Mon Jul 25, 2005 12:26 pm
Posts: 2749
Location: Bathurst NSW Australia

PostPosted: Tue Jul 25, 2006 5:57 am    Post subject: RE: Strange multiple hard disk io activity Reply with quote

Remember Konqueror is running from hda, as is the graphics display drivers, everytime you do something it has to be processed by an application. Also, is your swap file on hda? If your RAM is being pushed into swap file space whilst files are being loaded and moved you will have disk activity.
Back to top
View user's profile Send private message
nordle
LXF regular


Joined: Fri Apr 08, 2005 10:56 pm
Posts: 1500

PostPosted: Tue Jul 25, 2006 4:29 pm    Post subject: RE: Strange multiple hard disk io activity Reply with quote

This machines has 1GB of RAM, swap never gets used. I think what it is, is /proc I think /proc/copy_process_number/fd has the file copied and stored as it goes along, then when the process is finished its released again.

I don't think its a bug, but equally i'm not sure it makes a lot of sense.
_________________
I think, therefore I compile
Back to top
View user's profile Send private message
wyliecoyoteuk
LXF regular


Joined: Sun Apr 10, 2005 11:41 pm
Posts: 3422
Location: Birmingham, UK

PostPosted: Tue Jul 25, 2006 8:41 pm    Post subject: RE: Strange multiple hard disk io activity Reply with quote

Probably a FIFO pipe, acting as a cache for the network card.
In any transfer there is a "send" buffer on the transmitting pc, and a "receive" buffer at the other end.
The "send" buffer queues read packets for transmission, the "receive" buffer queues received packets for disk write.
Looks like /proc is where the pipe lives.

(Yes, this is a gross simplification)
_________________
The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
Back to top
View user's profile Send private message
nordle
LXF regular


Joined: Fri Apr 08, 2005 10:56 pm
Posts: 1500

PostPosted: Tue Jul 25, 2006 8:54 pm    Post subject: Re: RE: Strange multiple hard disk io activity Reply with quote

wyliecoyoteuk wrote:

(Yes, this is a gross simplification)


Which us grossly smple people appreciate, as its understandable Smile
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Hardware 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
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast