LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-28-2008, 10:44 PM   #1
wrapster
Member
 
Registered: May 2008
Posts: 155

Rep: Reputation: 30
CDROM read ahead questions!!


Hi all,

I wanted to know how to change the CDROM read ahead values?
This is required for my latest work on a live cd based distro!!!!

I have very vague idea of what a read ahead means..
Is it something like a seek buffer that prefetches data before the head accesses that particular track ?,or something like that?
Secondly is there a way to turn it off completely?

Thanks
 
Old 06-28-2008, 11:24 PM   #2
WildPossum
Member
 
Registered: Feb 2004
Location: Sydney - Australia
Distribution: Ubuntu, OpenSUSE, Mythbuntu, Embedded Linux
Posts: 46

Rep: Reputation: 18
I assume your trying to get your CDROM to run faster (data wise)?

Well the problem is not necessarily the speed the CDROM/DVD can read data. If it is, then its hardware bound to the speed of your CD/DVD drive, its internal memory, and probably its internal firmware operation.
All you can do CD/DVD wise is ensure your got the device alone on a IDE || SCSI || SATA channel, where no other device will interfere with its operation.

What is usually the problem with GUI style Live-CD's is the amount of available memory (RAM) your system has [especially true for X], the style of interface (IDE is much slower than SATA II), your video/graphics card and its memory capability, and your CPU speed/capability.

For a quick speed up, put a lot more CPU memory in - so that the complete live data is in-memory rather than having to go read off and re-read from the CD/DVD drive. However - If you concerned only with the speed of LOADING the initial Live-CD to the point where it is operational for you the user, you will need to increase the speed and capability of ALL the hardware as outlined in the previous paragraph.
 
Old 06-29-2008, 12:22 AM   #3
wrapster
Member
 
Registered: May 2008
Posts: 155

Original Poster
Rep: Reputation: 30
In this case making the best usage of the CPU memory wont come into picture,
reason being, ive developed a method of booting the live cd from RAM directly.
So now the OS has no dependency on the CD at all.
But this is not good enough for me
The technique ive followed is to copy the compressed FS to the RAM and use it as the default image to boot from!
But the catch here is that,when the copy is being done,there is nothing else that is happening , all the CPU time is just dedicated to this process...
And its this cp that is taking a large chunk of my boot time.

So i wanted to know if there is a way to boost the read ahead ,so that we can increase the prefetch from the current 4 pages?

Last edited by wrapster; 06-29-2008 at 12:24 AM.
 
Old 06-29-2008, 11:32 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
There is no tuning available to increase the read-ahead cache size which is something relatively recent (nv77).

Have a look at this bug report that details the mechanism and files involved:

http://bugs.opensolaris.org/bugdatab...bug_id=6588256
 
  


Reply

Tags
livecd


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
CDROM can't read/can't read superblock microomran Red Hat 1 07-05-2007 03:29 AM
CDROM read issues Utapez SUSE / openSUSE 2 01-30-2007 10:36 AM
Cdrom-read-write of a cd-rw mickeyboa Fedora 1 05-17-2006 07:40 PM
Can not read CDROM steve4586 SUSE / openSUSE 2 11-07-2005 10:41 AM
can't read CDROM shigeru Linux - General 7 08-18-2003 06:55 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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