Results 1 to 8 of 8

Thread: why the spontaneous CD activity?

  1. #1
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Tennessee, USA
    Posts
    111

    why the spontaneous CD activity?

    Running knoppix 3.3 live CD, sometimes when browsing simple webpages with konqueror, the CD rom will start spinning.

    Is there a way for me to find out what files knoppix is seeking on the CD?

    I'd like to get all those necessary files cached into RAM so that no CD activity would be necessary for surfing! (I don't have enough RAM to use the TORAM cheatcode)

    thanks!

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981

    Re: why the spontaneous CD activity?

    Quote Originally Posted by redss
    Running knoppix 3.3 live CD, sometimes when browsing simple webpages with konqueror, the CD rom will start spinning.

    Is there a way for me to find out what files knoppix is seeking on the CD?

    I'd like to get all those necessary files cached into RAM so that no CD activity would be necessary for surfing! (I don't have enough RAM to use the TORAM cheatcode)

    thanks!
    Can't be done. When running from CD, Knoppix is going to have to access the CD for bits of code it needs & there is no way you or it can predict what these might be.
    You could use a swap file to reduce the amount of CD access required, Knoppix contains a utility for creating a swap file on a DOS system.
    Or you could do a 'toHD' install which essentially copies the CD to HD & runs it from there (requires about 700MB but does not require you to partition your HD). Normally this is booted from a floppy but you can install Lilo & set it up to boot from the HD.
    Or you could partition the HD & do a full HD install. This has the advantage that you can then add, remove & upgrade packages & you system setups don't have the be redone from defaults after each boot.

  3. #3
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Tennessee, USA
    Posts
    111
    thanks for the reply. Does knoppix' utility for creating a swap file mean that files that are retrieved are kept in swap for future use? I'm not using a harddrive, so what about creating a swap file in RAM (can that be done? )

    I'd love to cache the files that otherwise would be read from CD.

  4. #4
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Quote Originally Posted by redss
    thanks for the reply. Does knoppix' utility for creating a swap file mean that files that are retrieved are kept in swap for future use? I'm not using a harddrive, so what about creating a swap file in RAM (can that be done? )

    I'd love to cache the files that otherwise would be read from CD.
    Hmmmm, multi-questions, lets break them down, and answer them individually, ok ?

    Code:
    Does knoppix' utility for creating a swap file mean that files that are retrieved are kept in swap for future use?
    Answer: Yes, but, ( always a "but" in any answer ), the swap file is not maintained between reboots and shutdowns - thus - if you have everything stored in a swap file, and reboot, the swap file is "flushed" of all its contents on the return to Knoppix.

    Code:
    I'm not using a harddrive, so what about creating a swap file in RAM (can that be done? )
    Answer: No hard drive, I don't think so, since the Operating System is ALSO in RAM, including the /temp folder, creating a "swap" file in RAM would just leave you less memory for the Operating System. This would, in effect, cause Knoppix to go into a loop - example below:

    OS uses all of RAM, and pokes at CD-ROM for updated needs...
    OS, with less memory, and, SWAP using "same" memory - will cause Knoppix to need more SWAP, making you increase the SWAP memory and decreasing OS memory, thus causing Knoppix to need more SWAP, etc, etc, etc...

    A "swap", either memory or hard drive, should give you MORE working space, not less. Windows, and Knoppix, in fact, most Operating Systems, create a "swap" on a physical hard drive, to help when memory gets used up. This practice, creates more memory than what you really have, and thus, is the reason why it is called "swap" - because the OS "swaps" memory out to the swap area when it is not in use, but is still needed.

    If you create a "swap" in memory, it defeats the purpose of the swap in the first place = create more memory than you really have.

    If you don't, or can't, get a hard drive for the swap, I would suggest "beefing" up your memory on your system. The more memory you have, the more Knoppix can use to store what it needs, and possibly, not need to keep "pulling" off the CD-ROM everytime. (my best suggestion under the gun...)

    Hope this helps,
    Ms. Cuddles

  5. #5
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Tennessee, USA
    Posts
    111
    Thanks for your reply!

    I'm not interested in using a harddrive for swapfile, since (to me) the beauty of knoppix is that a system with no mechanical parts can be left on indefinitely without worry of the harddrive eventually crashing.

    Besides, I have a plenty of RAM, but not enough for the TOHD cheatcode. So my goal is to figure out how to cache (into ram) the more commonly needed files (anything konqueror would need), in order to cut down on the CDROM access.

    Ideas anyone?

  6. #6
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    there is a toram cheatcode, that "moves" the cdimage to ram. but if you have less than 1Gb ram it is not recomended...
    i have tried it on a friends computer (1.5G ram) WOW, talk about FAST!

  7. #7
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Tennessee, USA
    Posts
    111
    My mistake, I meant to say I don't have enough RAM for the TORAM cheatcode, not the TOHD cheatcode.

  8. #8
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Tennessee, USA
    Posts
    111
    What we need is a "PARTIALLYTORAM" cheatcode which would only copy preselected files/directory structures to ram, since few people have enough ram for the complete CD to be copied there!

    Since theres no cheatcode to do that, maybe some utility that would tell knoppix to look in ram instead of CD for certain filepaths???

Similar Threads

  1. Regular disk activity with Knoppix install
    By Worm in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 01-08-2004, 08:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$78.99



Lot Of 2 Seagate Desktop Hard Drive 2000GB HDD ST2000DM001 7200RPM picture

Lot Of 2 Seagate Desktop Hard Drive 2000GB HDD ST2000DM001 7200RPM

$39.99



Lot Of 3 Seagate Constellation ST2000NM0033 2 TB,7200 RPM,128MB SATA 3.5 inch picture

Lot Of 3 Seagate Constellation ST2000NM0033 2 TB,7200 RPM,128MB SATA 3.5 inch

$59.99



Lot Of 2 Western Digital Caviar Green 1TB 3.5

Lot Of 2 Western Digital Caviar Green 1TB 3.5" HDD WD10EAVS Desktop Hard Drive

$29.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$112.00



HP 4TB 3.5

HP 4TB 3.5" 12Gb/s 7.2K SAS Hard Drive P/N: 793674-001 / 803634-001 / 695597-004

$14.87



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.54



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$209.99