SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
RAM DISK

May 2009
Roman Okolovich
Introduction (1 of 2)
   A RAM Disk is a software layer that enables
    applications to transparently use RAM, often a
    segment of main memory, as if it were a hard
    disk or other secondary storage.
       Access time may be greatly improved to files held on
        RAM disks compared to data held on other secondary
        storage.
       The volatility of RAM means that data will be lost if
        power is lost, e.g. when the computer is turned off.
       From privacy point of view, RAM disk is also a working
        drive for decrypted version of encrypted documents.

    08.02.2010                 Ram Disk                          2
Introduction (2 of 2)
   A RAM disk can perfectly be used to store
       web content of web servers.
       temporary index files and tables of database servers ( MS-SQL-Server,
        MySQL, etc).
       temporary files ( TEMP and TMP environment variable) and
        “Temporary Internet Files”
       the scratch disk for Adobe (R) Photoshop (R).
       games and installed programs. The startup times of programs may
        decrease drastically!
       audio and video capture / editing.
       creation and playback of slide shows.
       the printer spool folder.
       data that has to be written to CD, to prevent underrun during the
        burn process.
       as storage of the “ReadyBoost” cache on Vista.
       all kinds of data that may be lost (or MUST be lost for security
        reasons) at shutdown.

    08.02.2010                        Ram Disk                              3
Computer Architecture Overview
   Central processing unit (CPU, or simply a processor)
       It actually operates on data, performs any calculations, and
        controls all the other components
       Processor cache is an intermediate stage between ultra-fast
        registers and much slower main memory. It's introduced solely to
        increase performance of the computer (primary cache and
        secondary cache).
   Random access memory (usually known by its acronym,
    RAM)
       It is directly or indirectly connected to the CPU via a memory bus.
        It is actually comprised of two buses (not on the diagram): an
        address bus and a data bus.
       fast but temporary storage
   Hard Disk (Secondary storage)
       is not directly accessible by the CPU. The computer usually uses
        its input/output channels to access secondary storage and
        transfers the desired data using intermediate area in primary
        storage. The time taken to access a given byte of information
        stored on a hard disk is typically a few thousandths of a second, or
        milliseconds.
   The time taken to access a given byte of information
    stored in RAM is measured in billionths of a second, or
    nanoseconds.


    08.02.2010                                       Ram Disk                  4
RAM Disk utilities
   There are plenty of utilities available in Windows
       Microsoft Ramdisk
       “RAMDisk” for Windows 2000 / XP / Server 2003 /
        Vista / Server 2008 / Windows 7
       Ramdisk
       ImDisk Virtual Disk Driver
   Other operation systems
       tmpfs - a modern way of using RAM under Unix-like
        operating systems
       mdconfig - RAM disk in FreeBSD


    08.02.2010                Ram Disk                      5
RAM disk utilities: Microsoft Ramdisk (1 of 4)
   Microsoft Ramdisk is a sample that demonstrates a
    software-only Windows(r) 2000 device driver. This
    driver creates a RAM disk drive of a specified size.
    You can use this Ramdisk like any other disk, but the
    contents of the disk are lost when you shut down
    the computer.
   Disadvantages
       Source code only
       DDK is needed (not free)
       This sample provides an example of a minimal driver.
        Neither the driver nor the sample programs are intended
        for use in a production environment. Rather, they are
        intended for educational purposes and as a skeletal
        version of a driver.
       64 Mb size disk limit
    08.02.2010                  Ram Disk                          6
RAM disk utilities: “RAMDisk” (2 of 4)
   The RAMDisk “Enterprise” covers following features:
       One unique 32-bit and 64-bit versions that runs on all 32-bit (64-bit) versions of Windows 2000 , XP ,
        Server 2003/2008 and Vista (monoprocessor or multiprocessor )
       Auto formatting to FAT12 , FAT16 , FAT32 or NTFS / NTFS with compression
       Auto resizing to the maximal available (or allowed) ramdisk size
       Comprehensive fine tuning of the available memory to balance maximal ramdisk size against OS
        stability
       Easy to use and to configure from within the device tree of Device Manager
       Increased ramdisk sizes, theoretically to up to 64 GB using PAE (Physical Address Extension) and if
        supported by the OS. (The /PAE switch may be needed in boot.ini on systems that use more than 4 GB
        physical RAM).
       Ability to load a raw disk image to format and populate the ramdisk at driver initialization (load speed
        : ~ 30 sec/GB using an image stored on a mode 4 IDE ATA HD with a 1.2 Ghz processor).
       Ability to save the content to a raw disk image at shutdown and at regular intervals or at particular
        times.
   Advantages
       The ramdisk is available for the 32-bit and 64-bit OS's
       This RAMDisk has the capability to automatically reload an image file at boot time ( and before other
        services / programs are started ) and to save the ramdisk content at shutdown and/or at regular
        intervals.
   Disadvantages
       Not free



    08.02.2010                                       Ram Disk                                                   7
RAM disk utilities: Ramdisk (3 of 4)
   Freeware RRamdisk.sys, originally written by Gavotte
    based on Microsoft’s Ramdisk.sys.
       It stable, doesn’t have size limitation, supports popular
        FAT16, FAT32, NTFS file systems, and supports Windows
        2000 operating system and above including Vista.
   Advantages
       Installation is not needed
       Free
   Disadvantages
       It doesn’t support command line
       Not good documentation
       No official web-site (only web-blog is available)
    08.02.2010                       Ram Disk                       8
RAM disk utilities: ImDisk Virtual Disk Driver (4 of 4)
   ImDisk is a virtual disk driver for Windows
    NT/2000/XP/2003/Vista/2008
       It can use one or more disk image files to create virtual
        hard disk, floppy or CD/DVD drives.
       The install package installs a console-mode control
        program called imdisk.exe and a Control Panel applet.
   Advantage
       Free
       Possible to run the ImDisk driver automatically at boot
        time
   Disadvantage
       On Vista (32-bit and 64-bit versions) and Server 2008 you
        need to either turn off UAC, User Access Control, or setup
        the driver to auto-load on system startup.

    08.02.2010                    Ram Disk                           9
Using ImDisk
 imdisk -a -s 1Gb -m r: (imdisk -a -s 200Mb -m r:)
 format r: /fs:FAT32 /V:RamDisk /Q /y
 imdisk -d -m r:




    08.02.2010          Ram Disk                      10
Windows Sysinternals: Junction
   Windows 2000 and higher supports directory symbolic links, where a
    directory serves as a symbolic link to another directory on the
    computer.
       For example, if the directory D:SYMLINK specified C:WINNTSYSTEM32 as
        its target, then an application accessing D:SYMLINKDRIVERS would in
        reality be accessing C:WINNTSYSTEM32DRIVERS.
   Directory symbolic links are known as NTFS junctions in Windows.
   Windows comes with no tools for creating junctions—you have to
    purchase the Win2K Resource Kit, which comes with the linkd program
    for creating junctions.
   Mark Russinovich has written his own junction-creating tool: Junction.
       Junction not only allows you to create NTFS junctions, it allows you to see if
        files or directories are actually reparse points. Reparse points are the
        mechanism on which NTFS junctions are based, and they are used by
        Windows' Remote Storage Service (RSS), as well as volume mount points.
   Example:
       > junction.exe x:temp c:temp



    08.02.2010                            Ram Disk                                       11
References
   RAM disk utilities
       Microsoft Ramdisk
       Ramdisk
       “RAMDisk” for Windows 2000 / XP / Server 2003 / Vista /
        Server 2008 / Windows 7
       ImDisk Virtual Disk Driver
   Junction v1.05
   Memory Support and Windows Operating Systems
   Wikipedia
       Computer data storage
       RAM disk
       Physical Address Extension

    08.02.2010                  Ram Disk                          12

Más contenido relacionado

La actualidad más candente

La actualidad más candente (19)

Dos prompt, types of commands .27 t028
Dos prompt, types of commands  .27 t028Dos prompt, types of commands  .27 t028
Dos prompt, types of commands .27 t028
 
Managing Files
Managing FilesManaging Files
Managing Files
 
2.1 design hard disk layout v2
2.1 design hard disk layout v22.1 design hard disk layout v2
2.1 design hard disk layout v2
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case study
 
Disk
DiskDisk
Disk
 
Introduction of storage devices(Brief Knowledge)
Introduction of storage devices(Brief Knowledge)Introduction of storage devices(Brief Knowledge)
Introduction of storage devices(Brief Knowledge)
 
Hard drive partitions
Hard drive partitionsHard drive partitions
Hard drive partitions
 
Ms dos
Ms dosMs dos
Ms dos
 
Operating system and services
Operating system and servicesOperating system and services
Operating system and services
 
SSD HSD storage drives
SSD HSD storage drives SSD HSD storage drives
SSD HSD storage drives
 
CD Media
CD MediaCD Media
CD Media
 
Windows xp
Windows xpWindows xp
Windows xp
 
Disk Operating systems
Disk Operating systemsDisk Operating systems
Disk Operating systems
 
Ms dos
Ms dosMs dos
Ms dos
 
WinXP Installation A-Z
WinXP Installation A-ZWinXP Installation A-Z
WinXP Installation A-Z
 
101 1.1 hardware settings
101 1.1 hardware settings101 1.1 hardware settings
101 1.1 hardware settings
 
Aties Presentation
Aties PresentationAties Presentation
Aties Presentation
 
Seminar 1
Seminar 1Seminar 1
Seminar 1
 
Dos
DosDos
Dos
 

Destacado

ENT203 Integrating On-Premise Resources - AWS re: Invent 2012
ENT203 Integrating On-Premise Resources - AWS re: Invent 2012ENT203 Integrating On-Premise Resources - AWS re: Invent 2012
ENT203 Integrating On-Premise Resources - AWS re: Invent 2012Amazon Web Services
 
Scaling by Design: AWS Web Services Patterns
Scaling by Design:AWS Web Services PatternsScaling by Design:AWS Web Services Patterns
Scaling by Design: AWS Web Services PatternsAmazon Web Services
 
Introduction to IAM + Best Practices
Introduction to IAM + Best PracticesIntroduction to IAM + Best Practices
Introduction to IAM + Best PracticesAmazon Web Services
 
Big Data and Architectural Patterns on AWS - Pop-up Loft Tel Aviv
Big Data and Architectural Patterns on AWS - Pop-up Loft Tel AvivBig Data and Architectural Patterns on AWS - Pop-up Loft Tel Aviv
Big Data and Architectural Patterns on AWS - Pop-up Loft Tel AvivAmazon Web Services
 
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012Amazon Web Services
 
AWS Summit Auckland - Application Delivery Patterns for Developers
AWS Summit Auckland - Application Delivery Patterns for DevelopersAWS Summit Auckland - Application Delivery Patterns for Developers
AWS Summit Auckland - Application Delivery Patterns for DevelopersAmazon Web Services
 
AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...
AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...
AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...Amazon Web Services
 
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...Amazon Web Services
 
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAmazon Web Services
 
AWS re:Invent 2016: From Monolithic to Microservices: Evolving Architecture P...
AWS re:Invent 2016: From Monolithic to Microservices: Evolving Architecture P...AWS re:Invent 2016: From Monolithic to Microservices: Evolving Architecture P...
AWS re:Invent 2016: From Monolithic to Microservices: Evolving Architecture P...Amazon Web Services
 
AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...
AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...
AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...Amazon Web Services
 

Destacado (12)

ENT203 Integrating On-Premise Resources - AWS re: Invent 2012
ENT203 Integrating On-Premise Resources - AWS re: Invent 2012ENT203 Integrating On-Premise Resources - AWS re: Invent 2012
ENT203 Integrating On-Premise Resources - AWS re: Invent 2012
 
Scaling by Design: AWS Web Services Patterns
Scaling by Design:AWS Web Services PatternsScaling by Design:AWS Web Services Patterns
Scaling by Design: AWS Web Services Patterns
 
Introduction to IAM + Best Practices
Introduction to IAM + Best PracticesIntroduction to IAM + Best Practices
Introduction to IAM + Best Practices
 
Big Data and Architectural Patterns on AWS - Pop-up Loft Tel Aviv
Big Data and Architectural Patterns on AWS - Pop-up Loft Tel AvivBig Data and Architectural Patterns on AWS - Pop-up Loft Tel Aviv
Big Data and Architectural Patterns on AWS - Pop-up Loft Tel Aviv
 
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
 
AWS Summit Auckland - Application Delivery Patterns for Developers
AWS Summit Auckland - Application Delivery Patterns for DevelopersAWS Summit Auckland - Application Delivery Patterns for Developers
AWS Summit Auckland - Application Delivery Patterns for Developers
 
AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...
AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...
AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...
 
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
 
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
AWS re:Invent 2016: From Monolithic to Microservices: Evolving Architecture P...
AWS re:Invent 2016: From Monolithic to Microservices: Evolving Architecture P...AWS re:Invent 2016: From Monolithic to Microservices: Evolving Architecture P...
AWS re:Invent 2016: From Monolithic to Microservices: Evolving Architecture P...
 
AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...
AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...
AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...
 

Similar a Ram Disk

1.1-1 Computer Hardware Power Point.pdf
1.1-1 Computer Hardware Power Point.pdf1.1-1 Computer Hardware Power Point.pdf
1.1-1 Computer Hardware Power Point.pdfJadePorlas1
 
1.1-1 Computer Hardware.pptx
1.1-1 Computer Hardware.pptx1.1-1 Computer Hardware.pptx
1.1-1 Computer Hardware.pptxJniginNiclsTigs
 
Live memory forensics
Live memory forensicsLive memory forensics
Live memory forensicsMehedi Hasan
 
We4IT lcty 2013 - infra-man - domino run faster
We4IT lcty 2013 - infra-man - domino run faster We4IT lcty 2013 - infra-man - domino run faster
We4IT lcty 2013 - infra-man - domino run faster We4IT Group
 
101 2.1 design hard disk layout v2
101 2.1 design hard disk layout v2101 2.1 design hard disk layout v2
101 2.1 design hard disk layout v2Acácio Oliveira
 
Microprocessor based software developnent
Microprocessor based software developnentMicroprocessor based software developnent
Microprocessor based software developnentSandeep Kamath
 
Computer memory presentation
Computer memory presentationComputer memory presentation
Computer memory presentationaaravSingh41
 
Internal components - luke nutter
Internal components - luke nutterInternal components - luke nutter
Internal components - luke nutterluke_nutter
 
Soumenu Patra Presentation_Types of Memory.pdf
Soumenu Patra Presentation_Types of Memory.pdfSoumenu Patra Presentation_Types of Memory.pdf
Soumenu Patra Presentation_Types of Memory.pdfSoumenduPatra3
 
logical volume manager.ppt
logical volume manager.pptlogical volume manager.ppt
logical volume manager.pptPandiya Rajan
 
BSAD 104 Understanding Computers,OS,File Management
BSAD 104 Understanding Computers,OS,File ManagementBSAD 104 Understanding Computers,OS,File Management
BSAD 104 Understanding Computers,OS,File Managementmsdenee
 
Memory & storage devices
Memory & storage devicesMemory & storage devices
Memory & storage devicesHamza Mughal
 
Introduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides pptIntroduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides pptOsama Yousaf
 
My presentation on 'computer hardware component' {hardware}
My presentation on 'computer hardware component' {hardware}My presentation on 'computer hardware component' {hardware}
My presentation on 'computer hardware component' {hardware}Rahul Kumar
 

Similar a Ram Disk (20)

1.1-1 Computer Hardware Power Point.pdf
1.1-1 Computer Hardware Power Point.pdf1.1-1 Computer Hardware Power Point.pdf
1.1-1 Computer Hardware Power Point.pdf
 
1.1-1 Computer Hardware.pptx
1.1-1 Computer Hardware.pptx1.1-1 Computer Hardware.pptx
1.1-1 Computer Hardware.pptx
 
RamDisk
RamDiskRamDisk
RamDisk
 
Live memory forensics
Live memory forensicsLive memory forensics
Live memory forensics
 
We4IT lcty 2013 - infra-man - domino run faster
We4IT lcty 2013 - infra-man - domino run faster We4IT lcty 2013 - infra-man - domino run faster
We4IT lcty 2013 - infra-man - domino run faster
 
101 2.1 design hard disk layout v2
101 2.1 design hard disk layout v2101 2.1 design hard disk layout v2
101 2.1 design hard disk layout v2
 
Microprocessor based software developnent
Microprocessor based software developnentMicroprocessor based software developnent
Microprocessor based software developnent
 
windows.pptx
windows.pptxwindows.pptx
windows.pptx
 
Computer memory presentation
Computer memory presentationComputer memory presentation
Computer memory presentation
 
Internal components - luke nutter
Internal components - luke nutterInternal components - luke nutter
Internal components - luke nutter
 
Icdl Medual 1
Icdl Medual 1Icdl Medual 1
Icdl Medual 1
 
Soumenu Patra Presentation_Types of Memory.pdf
Soumenu Patra Presentation_Types of Memory.pdfSoumenu Patra Presentation_Types of Memory.pdf
Soumenu Patra Presentation_Types of Memory.pdf
 
logical volume manager.ppt
logical volume manager.pptlogical volume manager.ppt
logical volume manager.ppt
 
BSAD 104 Understanding Computers,OS,File Management
BSAD 104 Understanding Computers,OS,File ManagementBSAD 104 Understanding Computers,OS,File Management
BSAD 104 Understanding Computers,OS,File Management
 
Hbcd
HbcdHbcd
Hbcd
 
Memory & storage devices
Memory & storage devicesMemory & storage devices
Memory & storage devices
 
Introduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides pptIntroduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides ppt
 
Cmp
CmpCmp
Cmp
 
Window xp slides
Window xp slidesWindow xp slides
Window xp slides
 
My presentation on 'computer hardware component' {hardware}
My presentation on 'computer hardware component' {hardware}My presentation on 'computer hardware component' {hardware}
My presentation on 'computer hardware component' {hardware}
 

Más de Roman Okolovich

Más de Roman Okolovich (11)

Unit tests and TDD
Unit tests and TDDUnit tests and TDD
Unit tests and TDD
 
C# XML documentation
C# XML documentationC# XML documentation
C# XML documentation
 
code analysis for c++
code analysis for c++code analysis for c++
code analysis for c++
 
Using QString effectively
Using QString effectivelyUsing QString effectively
Using QString effectively
 
64 bits for developers
64 bits for developers64 bits for developers
64 bits for developers
 
Virtual Functions
Virtual FunctionsVirtual Functions
Virtual Functions
 
Visual Studio 2008 Overview
Visual Studio 2008 OverviewVisual Studio 2008 Overview
Visual Studio 2008 Overview
 
State Machine Framework
State Machine FrameworkState Machine Framework
State Machine Framework
 
The Big Three
The Big ThreeThe Big Three
The Big Three
 
Parallel Programming
Parallel ProgrammingParallel Programming
Parallel Programming
 
Smart Pointers
Smart PointersSmart Pointers
Smart Pointers
 

Último

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 

Último (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Ram Disk

  • 2. Introduction (1 of 2)  A RAM Disk is a software layer that enables applications to transparently use RAM, often a segment of main memory, as if it were a hard disk or other secondary storage.  Access time may be greatly improved to files held on RAM disks compared to data held on other secondary storage.  The volatility of RAM means that data will be lost if power is lost, e.g. when the computer is turned off.  From privacy point of view, RAM disk is also a working drive for decrypted version of encrypted documents. 08.02.2010 Ram Disk 2
  • 3. Introduction (2 of 2)  A RAM disk can perfectly be used to store  web content of web servers.  temporary index files and tables of database servers ( MS-SQL-Server, MySQL, etc).  temporary files ( TEMP and TMP environment variable) and “Temporary Internet Files”  the scratch disk for Adobe (R) Photoshop (R).  games and installed programs. The startup times of programs may decrease drastically!  audio and video capture / editing.  creation and playback of slide shows.  the printer spool folder.  data that has to be written to CD, to prevent underrun during the burn process.  as storage of the “ReadyBoost” cache on Vista.  all kinds of data that may be lost (or MUST be lost for security reasons) at shutdown. 08.02.2010 Ram Disk 3
  • 4. Computer Architecture Overview  Central processing unit (CPU, or simply a processor)  It actually operates on data, performs any calculations, and controls all the other components  Processor cache is an intermediate stage between ultra-fast registers and much slower main memory. It's introduced solely to increase performance of the computer (primary cache and secondary cache).  Random access memory (usually known by its acronym, RAM)  It is directly or indirectly connected to the CPU via a memory bus. It is actually comprised of two buses (not on the diagram): an address bus and a data bus.  fast but temporary storage  Hard Disk (Secondary storage)  is not directly accessible by the CPU. The computer usually uses its input/output channels to access secondary storage and transfers the desired data using intermediate area in primary storage. The time taken to access a given byte of information stored on a hard disk is typically a few thousandths of a second, or milliseconds.  The time taken to access a given byte of information stored in RAM is measured in billionths of a second, or nanoseconds. 08.02.2010 Ram Disk 4
  • 5. RAM Disk utilities  There are plenty of utilities available in Windows  Microsoft Ramdisk  “RAMDisk” for Windows 2000 / XP / Server 2003 / Vista / Server 2008 / Windows 7  Ramdisk  ImDisk Virtual Disk Driver  Other operation systems  tmpfs - a modern way of using RAM under Unix-like operating systems  mdconfig - RAM disk in FreeBSD 08.02.2010 Ram Disk 5
  • 6. RAM disk utilities: Microsoft Ramdisk (1 of 4)  Microsoft Ramdisk is a sample that demonstrates a software-only Windows(r) 2000 device driver. This driver creates a RAM disk drive of a specified size. You can use this Ramdisk like any other disk, but the contents of the disk are lost when you shut down the computer.  Disadvantages  Source code only  DDK is needed (not free)  This sample provides an example of a minimal driver. Neither the driver nor the sample programs are intended for use in a production environment. Rather, they are intended for educational purposes and as a skeletal version of a driver.  64 Mb size disk limit 08.02.2010 Ram Disk 6
  • 7. RAM disk utilities: “RAMDisk” (2 of 4)  The RAMDisk “Enterprise” covers following features:  One unique 32-bit and 64-bit versions that runs on all 32-bit (64-bit) versions of Windows 2000 , XP , Server 2003/2008 and Vista (monoprocessor or multiprocessor )  Auto formatting to FAT12 , FAT16 , FAT32 or NTFS / NTFS with compression  Auto resizing to the maximal available (or allowed) ramdisk size  Comprehensive fine tuning of the available memory to balance maximal ramdisk size against OS stability  Easy to use and to configure from within the device tree of Device Manager  Increased ramdisk sizes, theoretically to up to 64 GB using PAE (Physical Address Extension) and if supported by the OS. (The /PAE switch may be needed in boot.ini on systems that use more than 4 GB physical RAM).  Ability to load a raw disk image to format and populate the ramdisk at driver initialization (load speed : ~ 30 sec/GB using an image stored on a mode 4 IDE ATA HD with a 1.2 Ghz processor).  Ability to save the content to a raw disk image at shutdown and at regular intervals or at particular times.  Advantages  The ramdisk is available for the 32-bit and 64-bit OS's  This RAMDisk has the capability to automatically reload an image file at boot time ( and before other services / programs are started ) and to save the ramdisk content at shutdown and/or at regular intervals.  Disadvantages  Not free 08.02.2010 Ram Disk 7
  • 8. RAM disk utilities: Ramdisk (3 of 4)  Freeware RRamdisk.sys, originally written by Gavotte based on Microsoft’s Ramdisk.sys.  It stable, doesn’t have size limitation, supports popular FAT16, FAT32, NTFS file systems, and supports Windows 2000 operating system and above including Vista.  Advantages  Installation is not needed  Free  Disadvantages  It doesn’t support command line  Not good documentation  No official web-site (only web-blog is available) 08.02.2010 Ram Disk 8
  • 9. RAM disk utilities: ImDisk Virtual Disk Driver (4 of 4)  ImDisk is a virtual disk driver for Windows NT/2000/XP/2003/Vista/2008  It can use one or more disk image files to create virtual hard disk, floppy or CD/DVD drives.  The install package installs a console-mode control program called imdisk.exe and a Control Panel applet.  Advantage  Free  Possible to run the ImDisk driver automatically at boot time  Disadvantage  On Vista (32-bit and 64-bit versions) and Server 2008 you need to either turn off UAC, User Access Control, or setup the driver to auto-load on system startup. 08.02.2010 Ram Disk 9
  • 10. Using ImDisk  imdisk -a -s 1Gb -m r: (imdisk -a -s 200Mb -m r:)  format r: /fs:FAT32 /V:RamDisk /Q /y  imdisk -d -m r: 08.02.2010 Ram Disk 10
  • 11. Windows Sysinternals: Junction  Windows 2000 and higher supports directory symbolic links, where a directory serves as a symbolic link to another directory on the computer.  For example, if the directory D:SYMLINK specified C:WINNTSYSTEM32 as its target, then an application accessing D:SYMLINKDRIVERS would in reality be accessing C:WINNTSYSTEM32DRIVERS.  Directory symbolic links are known as NTFS junctions in Windows.  Windows comes with no tools for creating junctions—you have to purchase the Win2K Resource Kit, which comes with the linkd program for creating junctions.  Mark Russinovich has written his own junction-creating tool: Junction.  Junction not only allows you to create NTFS junctions, it allows you to see if files or directories are actually reparse points. Reparse points are the mechanism on which NTFS junctions are based, and they are used by Windows' Remote Storage Service (RSS), as well as volume mount points.  Example:  > junction.exe x:temp c:temp 08.02.2010 Ram Disk 11
  • 12. References  RAM disk utilities  Microsoft Ramdisk  Ramdisk  “RAMDisk” for Windows 2000 / XP / Server 2003 / Vista / Server 2008 / Windows 7  ImDisk Virtual Disk Driver  Junction v1.05  Memory Support and Windows Operating Systems  Wikipedia  Computer data storage  RAM disk  Physical Address Extension 08.02.2010 Ram Disk 12