-
Senior Member
registered user
advanced knoppix questions
If anybody knows the answers, I have a couple questions on the way knoppix works...
1) when running an executable for the first time since bootup, does knoppix store a copy of the executable in the ramdisk so that subsequent calls to that program will not require rereading off cdrom? If so, how long would the executable files be cached before being deleted to make room?
2) I notice that there are symbolic links in /etc that point to files on cdrom, but when edited, the link is broken and there is an edited copy in /etc.
-
1) when running an executable for the first time since bootup, does knoppix store a copy of the executable in the ramdisk so that subsequent calls to that program will not require rereading off cdrom? If so, how long would the executable files be cached before being deleted to make room?
Yes... it depends.
Knoppix, and Linux, as well as all UNIX's, and also Windows, and - now that I think about it - even DOS (in a rudimentary sort of way), have things called disk buffers.
Basically a section of RAM is set aside so that anything read from the hard disk is copied into RAM, so that if it is needed to be read again in the near future it is need not be read off disk again. This applies to anything on the disk, not just programs.
How long it stays in RAM depends on how much other stuff needs to be read. Obviously it can't keep storing everything forever, so when new stuff needs to be read in, the OS will (usually) use a "least recently used" algorithm to start getting rid of the oldest pages in order to make room for the new ones.
-
Senior Member
registered user
ok that makes sense!
Anyways, I had forgotten to complete part 2 of my post. I was just wondering what that type of symbolic link is called (and how its created) where editing the link and saving the file breaks the link and creates a new copy of the target.
Similar Threads
-
By aloy in forum General Support
Replies: 9
Last Post: 08-07-2005, 05:32 PM
-
By quicksilver1024 in forum General Support
Replies: 13
Last Post: 01-18-2005, 09:50 AM
-
By boxoman in forum General Support
Replies: 4
Last Post: 11-07-2004, 04:21 PM
-
By |2yan in forum General Support
Replies: 3
Last Post: 09-03-2004, 07:49 AM
-
By markschmid in forum Hdd Install / Debian / Apt
Replies: 9
Last Post: 04-11-2004, 11:30 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
-
Forum Rules

Dell R740XD VxRail P570 24x 2.5” 2U CTO Server– 2x Gold 6240, H740p, 2x 1600W
$699.00

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER
$1499.97

Supermicro 938-16 16-LFF MicroCloud SuperServer 5038MR-H8TRF *No Blade Servers*
$159.99

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 256GB DDR3 RAM NO HDD
$349.99

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR
$96.60

SUPERMICRO CSE-827 SERVER 4* E5645 2.4GHZ 12* 8GB PC3 RAM 11* 2TB SATA HDD 2*PSU
$679.99

Datto S3E12000 RACK SERVER 2U 2x Xeon E5-2670 v3 2.30GHz 32GB RAM 2x PSU 14 BAY
$399.95

Dell Poweredge FC640 480GB FX2s Server Removed from Working System
$5250.00

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working
$149.99

NEW Cisco UCSB-5108-AC2 Blade Server Chassis 8 Slot 6RU Chassis 4 X PSU - DW
$599.40