| Windows 7: USING RAMdisk to Ease Excessive CPU Usage |
13 Dec 2012
|
#1 | | Windows 7 Professional (x64) Service Pack 1 (build 7601) Louisiana |
USING RAMdisk to Ease Excessive CPU Usage I have, for quite some time, been perplexed with a particular application I use daily. Be advised, this is only a hobby for me, and it's not so terribly important that I want to take up time and effort from anyone that doesn't wish to be bothered.
Here is the problem:
1. I use a fantastic ebook management program, Calibre. This program was, for Windows, a 32-bit program. It has recently been updated to a 64-bit program for Windows. It is written using Python scripting language. From the beginning, there was a 64-bit program written for Linux. It has a feature for converting ebook file formats, ie, from *.pdf or *.epub and, in my case, turning them into a *.mobi file that is friendly to my Kindle products. Whenever I perform conversion operations in bulk, the program is very CPU intensive, boosting CPU usage to 100%, but, with the 64-bit program, only maximum usage of about 4.2-3 of the 16 GB RAM I have installed, 14+ or so usable.
My system: HP p6677c
Motherboard Manufacturer: Foxconn
Motherboard Name: H-ALVORIX_HF-RS880-uATX
HP/Compaq motherboard name: Alvorix-GL8E FN-Alvorix-RS880-uATX (Alvorix)
Foxconn Model 2AB1 (1.00) Motherboard
Chipset AMD 785G(RS880/SB710), Alvorix Board: FOXCONN 2AB1 1.00
Bus Clock: 200 megahertz
BIOS: American Megatrends Inc. 6.04 09/07/2010
OS Version: Microsoft Windows 7 Professional, Service Pack 1, 64 bit
Processor: AMD Athlon(tm) II X4 635 Processor, AMD64 Family 16 Model 5 Stepping 3; Processor Count: 4
RAM: 16127 Mb
Graphics Card: ATI Radeon HD 4200, 256 Mb
Hard Drives: C: Total - 941411 MB, Free - 851600 MB; D: Total - 12354 MB, Free - 145 MB; (external) J: Total - 476937 MB, Free - 276144 MB
2. I'm wondering whether creating a RAM disk to crunch a 15 GB database of ebooks, 10,300 individual books - each with supporting metadata, would be more efficient?
3. Can anyone briefly tell me how I can do this? The library is on my C:\ drive and it is backed up on the G:\ drive external. The Calibre program is located, also on my C:\ drive.
Understand, my system isn't a bulldozer, but it isn't a piece of junk, either. My CPU fan, presently, when rendering this database, sounds like a "C-130, rollin' down the strip." I don't have a bios that supports heat sensor information. Core Temp reported 23 degree C at idle and off the chart under 100% load. I'm adding an aftermarket cooler when it arrives, but I'd like to ease that processor load with this idea if it is feasible.
Thanks for your time. | My System Specs |
| System Manufacturer/Model Number HP p6677c OS Windows 7 Professional (x64) Service Pack 1 (build 7601) CPU 2.90 gigahertz AMD Athlon II X4 635 Motherboard Board: FOXCONN 2AB1 1.00, Bus Clock: 200 megahertz Memory 16 GB Kingston HyperX DDR3, 1600 CLS9 DIMM Graphics Card ATI Radeon HD 4200 [Display adapter] Sound Card On Board , Realtek High Definition Audio,ALC 888S-VD chipset Monitor(s) Displays HP 2310 [Monitor] (23.1"vis, s/n 3CQ038N6DZ, September 2010) Screen Resolution 1920 x 1080 Keyboard Logitech Mouse Logitech PSU Factory 250W Case Micro ATX Cooling Factory AMD HSF Hard Drives Hard Drives: C: Total - 941411 MB, Free - 851600 MB; D: Total - 12354 MB, Free - 145 MB; (external) J: Total - 476937 MB, Free - 276144 MB Internet Speed DSL 1.5 |
13 Dec 2012
|
#2 | | Win 7 Pro 64-bit 7601 Italy |
Quote: with the 64-bit program, only maximum usage of about 4.2-3 of the 16 GB RAM I have installed, 14+ or so usable. Even people doing HD video encoding struggle to use more than 10 GB of ram, so I'd say it is normal.
Using a RAMdisk will surely increase the snappyness of your computer if you put temp files (both of system and browsers and applications) there, but hey, number-crunching is CPU-heavy and you won't change that. Stuff in a RAMdisk can be moved to the processor way faster than stuff in a hard drive (hence the increase of snappyness), but the processor is doing something with that, it isn't just looking at them zip by.
You could be right about cooling, stock ones tend to suck and if they suck too much the processor gets too hot under load and then downclocks itself to avoid meltdown (and the performance takes a big hit when this happens), but the bottom line is that if you really want more performance you need a better processor. I'd frankly leave it as it is, because really, upgrading a processor for Calibri sounds a bit overkill, and even as your motherboardcan support better processors, their price is a bit high. (anyway, CPU benchmark can help you see the processor's powers)
While it won't help for Calibre, purchasing a decent discrete graphic card to put in your PCIe slot will allow you to run GPU-accelerated programs without a lot of CPU load as they offload the serious number-crunching to the GPU that is a lot more powerful than any CPU of its times. Quote: 3. Can anyone briefly tell me how I can do this? The library is on my C:\ drive and it is backed up on the G:\ drive external. The Calibre program is located, also on my C:\ drive. You need softwares that create the ramdrive, by "stealing" some RAM from the available and creating a new disk in My Computer, then you transfer the files you want to work with into that, then you work on them like they were from a drive. THis thread provides links and walkthrough and some comments.
THere are some programs that create dynamic ram drives (that use up ram equivalent to the size of their contents, not a fixed pre-determined amount, but aren't free. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number custom built OS Win 7 Pro 64-bit 7601 CPU AMD Phenom 9650 Quad-Core (a revision without the bug) Motherboard ASUS M4A78 Memory 4,00 GB Graphics Card NVIDIA GeForce 9800 GT Sound Card Realtek High Definition Audio Monitor(s) Displays Fujitsu Siemens P19-3P Screen Resolution 1280 x 1024 x 32 bits @ 60 Hz Oh yeah, 4:3 rocks! Keyboard Microsoft, whatever. Mouse Optical, logitec. PSU whatever, around 450w Case Scavenged from old company PC, 10+ years old Cooling CPU fan, GPU fan, case fan, nothing fancy Hard Drives (1) MAXTOR S TM3320613AS SATA Disk Device (2) STM35004 18AS SATA Disk Device (3) TOSHIBA USB 2.5"-HDD Internet Speed effective max speeds: 70-ish kB/s down 30-ish kB/s up Antivirus Avira, free endition. Browser Firefox with FXChrome to make it look like Google Chrome Other Info Was discarded by previous owner due to "horrible performance".
Was running Win Xp from a IDE drive. Yeah. Was a pain.
SATA II drive and Win7 and it zips away! Yay! |
13 Dec 2012
|
#3 | | Windows 7 Professional (x64) Service Pack 1 (build 7601) Louisiana |
Solved bobafetthotmail, Sir, As I iterated in my original post, I've been researching this for quite some time, and I'd about come to the same conclusion that you'd outlined in your post. However, I'd not come across any explanation as technically and well phrased as yours. Thank you. | My System Specs | | System Manufacturer/Model Number HP p6677c OS Windows 7 Professional (x64) Service Pack 1 (build 7601) CPU 2.90 gigahertz AMD Athlon II X4 635 Motherboard Board: FOXCONN 2AB1 1.00, Bus Clock: 200 megahertz Memory 16 GB Kingston HyperX DDR3, 1600 CLS9 DIMM Graphics Card ATI Radeon HD 4200 [Display adapter] Sound Card On Board , Realtek High Definition Audio,ALC 888S-VD chipset Monitor(s) Displays HP 2310 [Monitor] (23.1"vis, s/n 3CQ038N6DZ, September 2010) Screen Resolution 1920 x 1080 Keyboard Logitech Mouse Logitech PSU Factory 250W Case Micro ATX Cooling Factory AMD HSF Hard Drives Hard Drives: C: Total - 941411 MB, Free - 851600 MB; D: Total - 12354 MB, Free - 145 MB; (external) J: Total - 476937 MB, Free - 276144 MB Internet Speed DSL 1.5 USING RAMdisk to Ease Excessive CPU Usage problems? All times are GMT -5. The time now is 08:33 PM. | |