I've just finished a build of a server system that uses SSDs instead of "spinning rust". I have a system I made which runs MySql in a ram disk. rc.d files restore the last dump in a ramdisk on boot, and on system take-down an incremental dump of any tables that changed is stored on the SSD.
I've move all the log files for my software and FreeBSD system logs to another mounted Ramdisks( var/log/ramlog in my case). There are 6 Ramdisks mounted for all sorts things.
While discussing "why" and "is this a good idea" would be fun, the application is deployed systems in vehicles for response times in environments with none to intermittent communications. When running, database commits are between 10 and 100 per second. A custom power supply is integrated into the system to help coordinate boots and take-downs, and everything runs on the vehicle battery. The same software runs on a "big" server, which is what I'm workin now. A fun problem I'm happy to discuss once I clear this stumbling block.
With all my various daemons in crontab turned off, I still see disk activity lights on the server flash about every 4 seconds. My IoT and web systems are not active, there should be nothing dealing with the database. I dd not see this SSD activity LED flashing on this server's "digital twin" which is still running V13. But I see it in the new server running 14.1
When I run 'top', and look at IO (the 'M' command), I can look at it for a long period of time and see no READ or WRITE counts for anything.
Questions:
1) If there was any disk activity to the SSDs, would I see it in TOP ?
2) Is there any way to figure out when the disk activity lights flash what sort of transaction was done ? I really miss some of the early Ethernet based routers I worked on in the 90's where I had LEDs for Link, Xmit, Receive and Collision....
3) Is there any log or other info that I could store in my /var/log/ramlog to figure this out? Because it's a Ramdisk, it will not cause any SSD disk activity LEDs to flash (I've tested this, it's true).
FreeBSD 14.1-STABLE
mysql Ver 8.4.2 for FreeBSD14.0 on amd64 (Source distribution)
Apache24 Server version: Apache/2.4.62 (FreeBSD)
PHP Version => 8.3.11
I've move all the log files for my software and FreeBSD system logs to another mounted Ramdisks( var/log/ramlog in my case). There are 6 Ramdisks mounted for all sorts things.
While discussing "why" and "is this a good idea" would be fun, the application is deployed systems in vehicles for response times in environments with none to intermittent communications. When running, database commits are between 10 and 100 per second. A custom power supply is integrated into the system to help coordinate boots and take-downs, and everything runs on the vehicle battery. The same software runs on a "big" server, which is what I'm workin now. A fun problem I'm happy to discuss once I clear this stumbling block.
With all my various daemons in crontab turned off, I still see disk activity lights on the server flash about every 4 seconds. My IoT and web systems are not active, there should be nothing dealing with the database. I dd not see this SSD activity LED flashing on this server's "digital twin" which is still running V13. But I see it in the new server running 14.1
When I run 'top', and look at IO (the 'M' command), I can look at it for a long period of time and see no READ or WRITE counts for anything.
Questions:
1) If there was any disk activity to the SSDs, would I see it in TOP ?
2) Is there any way to figure out when the disk activity lights flash what sort of transaction was done ? I really miss some of the early Ethernet based routers I worked on in the 90's where I had LEDs for Link, Xmit, Receive and Collision....
3) Is there any log or other info that I could store in my /var/log/ramlog to figure this out? Because it's a Ramdisk, it will not cause any SSD disk activity LEDs to flash (I've tested this, it's true).
FreeBSD 14.1-STABLE
mysql Ver 8.4.2 for FreeBSD14.0 on amd64 (Source distribution)
Apache24 Server version: Apache/2.4.62 (FreeBSD)
PHP Version => 8.3.11