LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2009, 07:28 PM   #1
Changes
Member
 
Registered: Oct 2008
Posts: 190

Rep: Reputation: 16
How to stop Konqueror wasting time upon accessing music folder?


I set Kubuntu to use Konqueror rather than Dolphin as the file explorer. After customizing it it does the job just fine, except for one thing: whenever I access my music folder, which contains some five thousand ogg files, it sends the hard disk into a frenzy and freezes up for about two minutes. Then, when it's done with what I assume is a file scan, resumes working as if nothing had happened.
I imagine it's reading tags, or something. How do I stop it from doing that? I browsed the configuration menu and tried changing some settings that I thought were relevant, but it did no good.

Thanks.
 
Old 02-17-2009, 08:51 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
In order for a file browser to display the contents of a folder, it has to read the entries written in the file table of the file system for that folder. With that many items, you can't expect any better performance without upgrading your hardware, mainly processor clock cycle, and RAM memory.
In order to get better performance without a hardware upgrade, split the contents of that folder into multiple folders.
 
Old 02-17-2009, 08:52 PM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Double post for some odd reason. Only clicked submit once.

Last edited by Junior Hacker; 02-17-2009 at 08:53 PM.
 
Old 02-18-2009, 06:07 PM   #4
servat78
Member
 
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
This is not specifically due to sound files and their tags - it's rather that 5 thousand files (any file format) will be a drag for a GUI file manager to be displayed. Displaying 5 thousand text files would also take a lot of time.

Either avoid that folder, or create a reasonable structure of sub-directories.

It is probably easier to create a playlist for sound files in many directories rather than opening a single directory with that amount of files.

Debian

Last edited by servat78; 02-19-2009 at 12:31 PM.
 
Old 02-19-2009, 06:00 AM   #5
Changes
Member
 
Registered: Oct 2008
Posts: 190

Original Poster
Rep: Reputation: 16
Then how is it that I can access the very same folder under Windows with no trouble whatsoever?
It takes a bit longer than normal folders to come up in Explorer, but after, say, three or four seconds, it's all there.

Even Amarok can list the contents of the entire music folder without screeching to a halt.

Last edited by Changes; 02-19-2009 at 06:40 AM.
 
Old 02-19-2009, 09:45 PM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
In Windows, the information regarding the first few items loaded in memory are displayed ASAP before it completes loading all 5 thousand.
In konquerer, the information for all 5 thousand are loaded into memory before something is displayed.
This is just my interpretation based on experience having observed the same, does'nt mean I'm right.

Just a different way of working with ram/swap/paging.
One should not compare different operating systems/desktop environments. If they were the same, they would'nt be different.
 
Old 02-20-2009, 09:23 AM   #7
Changes
Member
 
Registered: Oct 2008
Posts: 190

Original Poster
Rep: Reputation: 16
It's just that I'm used to Linux software working better than the Win counterparts, so this was unexpected.

Regardless, even Amarok (under Linux, of course) doesn't do it this way. I'm pretty sure it doesn't load anything at all, it just displays the files, then the hard disk activity light turns off.
Can't Konqueror be set up to behave the same?
 
Old 02-20-2009, 04:19 PM   #8
gergely89
Member
 
Registered: Feb 2009
Posts: 100

Rep: Reputation: 21
This problem with displaying 5000 files in a single directory is not really about Linux or Windows being better than the other. It's just that Konqueror is implemented to have all info's straight before displaying anything, while Explorer displays as it reads. Even in Explorer, if you want to page down to the last item in the 5000 list, it still would take time, I guess.

The advantage that Linux has is simply that you do not have to stick with the default file manager, but have a wide choice of alternatives, if you are not satisfied with Konqueror.

linux

Last edited by gergely89; 02-27-2009 at 11:42 PM.
 
Old 02-20-2009, 05:28 PM   #9
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
now that I read that I was curious and tried to reproduce the issue with my /usr/lib (contains 4478 files and 299 folders). With konqueror it took like 10 or 20 seconds, nowhere near 2 minutes. You maybe exaggerated a bit.

Dolphin, however, is much faster (3-4 seconds, with progress bar, so waiting is not so boring :P)

Last edited by almatic; 02-20-2009 at 05:29 PM. Reason: googleapis ...
 
Old 02-20-2009, 05:33 PM   #10
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,202

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Quote:
Originally Posted by almatic View Post
now that I read that I was curious and tried to reproduce the issue with my /usr/lib (contains 4478 files and 299 folders). With konqueror it took like 10 or 20 seconds, nowhere near 2 minutes. You maybe exaggerated a bit.

Dolphin, however, is much faster (3-4 seconds, with progress bar, so waiting is not so boring :P)
could be, or perhaps your computer is just faster then the op's
but i agree the diferences is windows shows things as they load rather then waiting for it all to load before showing it

the same is true of the desktop in general, most linux desktop environments don't present the user with a desktop at all until it is close to ready whereas windows takes up to several minutes after the desktop shows before all the TSR (terminate and stay ready) programs load it is ready to use
 
Old 02-26-2009, 03:29 PM   #11
Changes
Member
 
Registered: Oct 2008
Posts: 190

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by gergely89 View Post
Even in Explorer, if you want to page down to the last item in the 5000 list, it still would take time, I guess.
Not really. If I press end on the keyboard, I'm there.

Quote:
The advantage that Linux has is simply that you do not have to stick with the default file manager, but have a wide choice of alternatives, if you are not satisfied with Konqueror.
Konqueror satisfies me for everything but this.

Quote:
Originally Posted by almatic View Post
now that I read that I was curious and tried to reproduce the issue with my /usr/lib (contains 4478 files and 299 folders). With konqueror it took like 10 or 20 seconds, nowhere near 2 minutes. You maybe exaggerated a bit.
The problem might be in the file types. Could Konqueror be reading the tags?

Quote:
Originally Posted by frieza View Post
the same is true of the desktop in general, most linux desktop environments don't present the user with a desktop at all until it is close to ready whereas windows takes up to several minutes after the desktop shows before all the TSR (terminate and stay ready) programs load it is ready to use
Yeah, but you don't have to twiddle your thumbs for long. I agree that it's nice to have things all preread and preloaded and ready to go, but the time I have to wait whenever I mistakenly click the music folder in Konqueror is ridiculous.
I've also noticed that even if I kill konqueror after I do that, the disk still keeps frenzying just as if I hadn't killed it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
what are your favorite time wasting websites schneidz General 12 09-10-2008 06:31 PM
Am I just wasting my time with this? Perquisitor Linux - Newbie 6 01-31-2008 12:26 PM
wasting my time scar_freewill LQ Suggestions & Feedback 11 04-12-2006 05:31 AM
grrr...have been wasting my time on other distros denning Mandriva 2 02-10-2005 06:57 PM
How to stop wasting your bandwith? Eits0 General 2 09-07-2002 04:07 PM


All times are GMT -5. The time now is 11:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration