LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 08-04-2009, 06:42 AM   #1
sreeharsha.t
Member
 
Registered: Jan 2009
Location: Mumbai, India
Distribution: Fedora 9, 10,11, RHEL 5
Posts: 42
Thanked: 3
Question X forwarding shoots up CPU IO wait time


[Log in to get rid of this advertisement]
Hi,

I was using X forwarding via SSH to access the file manager, Nautilus. My intention was to search for a file on the remote machine.

The Nautilus opens fine and I am able to browse the files on the remote computer but, when I try to search for a file through Nautilus' search option it becomes unresponsive. From top I found that the IO wait time of CPU is reaching 97%.Does this mean that Nautilus is trying to send the directory structure through the network to my local computer and searching for here.

I thought that by using X forwarding, only the local X will be used by the process which executes in the remote machine. If so, Nautilus should search for the file in the remote machine and shouldn't result in CPU IO wait times shooting up which is not in this case.

Also, I have observed that if I start Mozilla Firefox through a X forwarded SSH, my local Firefox is starting up instead of the remote one. I verified this as it shows my history and plugins.

I have read documents online about X forwarding but still this has left my understanding about it bit blurred. Please explain how it works, especially in the above two cases.

Thanks.
sreeharsha.t is offline  
Tag This Post , , , ,
Reply With Quote
Old 08-04-2009, 06:51 AM   #2
sreeharsha.t
Member
 
Registered: Jan 2009
Location: Mumbai, India
Distribution: Fedora 9, 10,11, RHEL 5
Posts: 42
Thanked: 3

Original Poster
Advacements..

Quote:
The Nautilus opens fine and I am able to browse the files on the remote computer but, when I try to search for a file through Nautilus' search option it becomes unresponsive. From top I found that the IO wait time of CPU is reaching 97%.Does this mean that Nautilus is trying to send the directory structure through the network to my local computer and searching for here.

I found that the IO wait time was not resulting from Nautilus sending the directory structure from remote machine to my local X. Infact, Nautilus wasn't sending the directory structure as I thought initially. For some strange reason, Nautilus was occupying 1.3 Gb (and growing) of RAM which is making the system to SWAP causing the IO WAIT time on the CPU.

Now my question is why Nautilus is taking 1.3 Gb of RAM to search a simple 5 level directory structure which hardly contains 100 files altogether. When I access the Nautilus on the remote machine through vnc viewer, it searches and reports fine.

Thanks.
sreeharsha.t is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very long wait time between searches colucix LQ Suggestions & Feedback 7 07-04-2008 03:05 PM
Determine cause of high IO Wait on CPU? danraider Linux - Software 2 10-15-2007 10:10 AM
I/O wait CPU percentage definition DotHQ Linux - Enterprise 9 07-27-2007 02:36 AM
unusually long wait time for mutex gecoool Programming 1 11-15-2005 11:58 AM
controlling the wait time on boot up Veteq Linux - General 2 03-19-2005 04:10 PM


All times are GMT -5. The time now is 03:08 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration