SlideShare uma empresa Scribd logo
1 de 12
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados (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
 

Destaque

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
 

Destaque (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...
 

Semelhante 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
 

Semelhante 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}
 

Mais de Roman Okolovich

Mais 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

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 

Último (20)

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 

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