Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Ram Disk optimization when coexisting with other applications including Multimedia and calculation intesive applications

IP.com Disclosure Number: IPCOM000021172D
Original Publication Date: 2003-Dec-31
Included in the Prior Art Database: 2003-Dec-31
Document File: 2 page(s) / 48K

Publishing Venue

IBM

Abstract

Ram Disk optimization when coexisting with other applications including Multimedia and calculation intensive applications

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Page 1 of 2

Ram Disk optimization when coexisting with other applications including Multimedia and calculation intesive applications

    When using a ram disk in Windows 2000, operations on that ram disk tend to take up a lot of CPU time. This can cause other processes which ran fine when those same operations were executed on a regular disk, to have problems because the RAM DISK is hogging the CPU.

    This can be especially true for multimedia applications with video, and sound. Stuttering, and missed frames can result. It can also be applied to server applications. The application using the ram disk exclusively could get a huge priority boost over other applications that do not. So priority schemes could change as an indirect result of using a ram disk. Many processes assume in some fashion that I/O operations will be slow and will not necessarily require 100% CPU usage to complete. Therefore, other operations like video, sound, calculations may be performed in other threads while file I/O is going on.

PRIMARY METHOD USING SLEEPS
1. Put in operation(s) which relinquish control over the CPU By having the driver put in the additional sleeps (or other operations which relinquishes control of the CPU) in the ram disk/filter driver, the application does not need to worry about what type of drive it is talking to. By relinquishing control, other operations like video, sound, or other operations could get use of the CPU preventing them from getting starved. In Windows 200X, the KeDelayExecutionThread function (or an equivalent) could be used in the driver possibly, around the various I/O operations, to slow down the ram disk so other applications/devices can have more use of the CPU.

    2. Manage these additional slee...