Categories
Ceph

My Ceph cluster is faster now that i use lvmcache

I used Ceph blockdb and wal cache before. It did not do any read caching. Lvm caching is smarter. It caches the most used blocks. When i start up something it can be slow at first, but after a while the read and write speeds go up. I set caching mode to writeback. I used cachepool and not cachevol.

  • Create a PV of the SSD
  • Add PV to same VG as the slow HDD
  • Create a large cache LV on the SSD
  • Create a smaller metadata cache LV on the SSD
  • Create cache LV from data and metadata LV
  • Add cache LV to the HDD LV

Everything can be done while the HDD LV is online.

Categories
Ceph

A Samsung 980 NVME SSD can do 1600 write IOPS under worst conditions

I tested a new one i bought a few days ago. I tested with fio. I set sync=1, direct=1, blocksize=4k, iodepth=1 and numjobs=1

Categories
Ceph

Write speed is slow on my Ceph storage cluster

Today i decided to find out why the write speed is slow on my Ceph cluster. Read speed is good. I noticed that i have high utilization even on slow write speeds. I cant get higher write speeds than 30MB/s. Then the disk utilization is close to 100%. I have put block db and write ahead log on SSDs. I expected that to make the write speeds much better. I see now that the SSDs are little used. Most writes go straight to the HDD. The HDDs can write 200MB/s and i have 10gbps network between the nodes. The problem is that Ceph always do synchronous writes. That means the write call must not return before the data is written to stable storage. That makes both HDDs and SSDs much slower. To get faster writes i need SSDs with power loss protection. SSDs with PLP can say that data is written to storage as soon as the data is in the SSDs cache, because the SSD knows it have enough power to write the data to storage even if there is a power loss.

The write speed is much better on my Windows cluster. Storage spaces direct writes data first to the cache SSD and says that data is written to stable storage. I have SSDs with PLP on two nodes. On one node the SSD dont have PLP so i turn on write cache in device manager every time i restart the node. Storage spaces direct turns it off every restart.

Categories
Tech

Looks like i got rid of the AVIF images in Firefox

I hope this works. I am not ready for a new image format. JPEG is good enough for me. If you go to about:config there is a “image.avif.enabled” setting for AVIF images. If you set it to false images are JPEG again on websites.

Categories
Tech

I dont understand why any body care about this terraforming thing

It looks only like a waste of money. If we cant get some small amount CO2 out of earths atmosphere it will fail do something bigger on another planet.

NASA’s Retiring Top Scientist Says We Can Terraform Mars and Maybe Venus, Too

https://science.slashdot.org/story/22/01/03/0112258/nasas-retiring-top-scientist-says-we-can-terraform-mars-and-maybe-venus-too

Categories
Ceph

It is not enough to run dnf update to update a Ceph cluster

When i ran dnf update on my Fedora Ceph nodes a week ago i noticed that there was a new version of Ceph. Previously i had 16.2.6 but now i got 16.2.7. When i looked at the host list today all nodes where still 16.2.6. After searching for a while i found an upgrade command. After starting an upgrade Ceph pulled new images for the Podman services.

Ceph orch upgrade start
Categories
Tech

I dont want to replace my pirated MS Office with a subscription

In a bold bid to turn digital crooks away from a life of crime, Microsoft is offering a 50 percent discount on its Office suite to some people using pirated versions. Ghacks reports that a new message in the Office ribbon bar is appearing on pirated Office apps, tempting people with a 50 percent discount on a genuine Microsoft 365 subscription.

Looks like a bad deal.

https://www.theverge.com/2021/12/9/22825774/microsoft-office-pirated-software-discount-offer

Categories
Tech

I bought some Ethereum shitcoins

Half the value was lost i fees when i got them into my own wallet.

Categories
Ceph Storage spaces direct

I thought i had found something great for my external harddisks

I thought it would be easy to power 12 harddisks from an ATX power supply. I dont know why i need 2 power supplies. When i saw this ATX power breakout board i thought it would be easier to get all power out of the supplies. It looked very easy. Connect the 24 pin motherboard and the two PCIe 6 pin connectors to the board and then i would get lots of current from the Molex connectors. I started with one PCIe connector. Two seconds after i had connected it 4 capacitors exploded. It was only 12V. I cant find any instructions how to use this board. The one i got does not look exactly like the one on Amazon pictures. It is written “www.daniaoge.com” on the board i have.

Categories
Tech

Blockchain smart contract error on MonoX gets shitcoins stolen

Blockchain startup MonoX Finance said on Wednesday that a hacker stole $31 million by exploiting a bug in software the service uses to draft smart contracts.

I am waiting for the smart contracts to end up in court. Then we will see how smart the contracts are. Maybe they should not even be called contracts.

https://arstechnica.com/information-technology/2021/12/hackers-drain-31-million-from-cryptocurrency-service-monox-finance/