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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-18-2011, 12:10 AM
|
#1
|
|
Member
Registered: Dec 2009
Posts: 31
Rep:
|
tediously slow performance of large pdf files
I have downloaded a large pdf file, about 85M, which initially takes a while to load, which is fine, but whenever i go to a new page the cpu shoots up to 100% and the page takes a few seconds to load. This makes viewing the file a chore since i need to skip around a lot.
I have tried a few different viewers, but they all act the same. Why do they take so long to load each page, and is there anything i can do to speed it up?
cheers
|
|
|
|
09-18-2011, 04:45 AM
|
#2
|
|
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,589
|
If a pdf is that large, it either has an absolutely humongous amount of text in it, or it's composed of images of pages rather than text. I'm going to guess the latter, as each image has to be rendered before it can be displayed.
|
|
|
|
09-18-2011, 07:41 AM
|
#3
|
|
Member
Registered: Dec 2009
Posts: 31
Original Poster
Rep:
|
Yeah they are images, but surely they shouldn't take up to ten seconds to load should they? I mean the books is about 700 pages, which means each page must be only be about 1000kb.
|
|
|
|
09-18-2011, 07:51 PM
|
#4
|
|
Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian
Posts: 5,369
|
The processor, its speed, and the amount of RAM could hugely affect something like this.
You might run top or htop in a terminal and observe what they report about memory usage as you manipulate the document.
|
|
|
|
09-19-2011, 07:35 AM
|
#5
|
|
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,589
|
The program also has to extract the images from the pdf container before it can render them, likely adding to the overhead. I've never really seen pdf as being a very efficient storage format in any case.
|
|
|
|
09-19-2011, 11:35 AM
|
#6
|
|
Senior Member
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 2,243
|
PDFs do vary enormously in quality, depending on how the text was scanned and what creation tool was used. I've had a document with less than a dozen pages that was incredibly slow. If you look at the scanned books in archive.org, you can also see cases where there are two versions of the same text, one 50% larger than the other.
|
|
|
|
09-19-2011, 01:39 PM
|
#7
|
|
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,717
Rep: 
|
Try :
pdf2djvu or pdftops or pdf2ps and see how well the converted document performs in okular
|
|
|
|
09-20-2011, 01:03 AM
|
#8
|
|
Member
Registered: Dec 2009
Posts: 31
Original Poster
Rep:
|
wow, djvu is way better! Page changing is instant. cheers
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:37 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|