The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sphere + RamDisk
Author Message
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #1
Lightbulb Sphere + RamDisk
Hi! Bye

Have someone, who has large worldsave files, tried to use sphere with ramdisk. I'm interested in load/save performance.

Grandmaster Localhost Admin
(This post was last modified: 04-23-2016 01:53 AM by Kanibal.)
04-23-2016 01:31 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: Sphere + RamDisk
RAMDisk works allocating on RAM what usually the system will load from HDD, doing this you will gain performance because HDD's are mechanical and have some delay (0~200ms) to spin the physical disk, while RAM is digital and doesn't have any delay. So basically RAMDisk will turn you RAM into an "mini-fast-HDD"

sphere only use HDD to load/save scripts and save files, and after loaded, all data is already allocated on RAM and processed by CPU, with no HDD usage. So I don't tested it yet, but -maybe- RAMDisk will not bring any performance gain on sphere

my live server run on a old intel xeon L5630 where sphere worldsave took ~20s, and here on my PC (core i5 - 4th gen) the same sphere using the same save files took 8s. So if you're looking for performance gain on worldsave, maybe the best option is an faster CPU. Also using an SSD instead HDD -maybe- will help too, since SSD are digital and doesn't have the delay issue of mechanical HDD's
04-23-2016 04:17 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #3
RE: Sphere + RamDisk
Thx for your answer Veryhappy

Grandmaster Localhost Admin
04-23-2016 08:20 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
n1ghtwish
Apprentice
*

Posts: 40
Likes Given: 0
Likes Received: 28 in 8 posts
Joined: Jan 2016
Reputation: 0



Post: #4
RE: Sphere + RamDisk
I run Sphere in a VM on an Ubuntu box with a 4th gen i5 on SSD drives... performance is outstanding compared to HDD. Just my 2 cents.
04-24-2016 04:12 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)