В Linux стандартными средствами можно использовать часть оперативной памяти как диск. Для этого требуется указать тип монтирования tmpfs в команде mount
mount -t tmpfs -o size=5G tmpfs /mnt/ram
Теперь путь /mnt/ram можно использовать как обычный каталог. Для чего это может быть нужно?
▫️ Скорость работы с таким каталогом выше чем многие SSD и тем более HDD.
▫️ Если у вас очень быстрый SSD на NVMe M.2 то такой способ особо не прибавит вам скорости, но поможет сохранить ресурс SSD когда требуется обрабатывать очень много мелких файлов и оперативка позволяет выделить нужный объем.
▫️ Оперативка это энергозависимая память, поэтому выключении питания все файлы безвозвратно теряются. Такой "non persistent" каталог гарантирует удаление временных файлов.
Я написал небольшой скрипт для условного теста и сравнения скорости копирования файлов между SSD и RAM.
Вот мои результаты:
Single File Size: 30.0Gb
ssd > ssd: 0:00:12.850 / 2.3Gb/s
sdd > ram: 0:00:06.453 / 4.6Gb/s
ram > ram: 0:00:06.995 / 4.3Gb/s
ram > sdd: 0:00:06.217 / 4.8Gb/s
Dir size: 32.7Gb, File count: 11127
ssd > ssd: 0:00:15.063 / 2.2Gb/s
sdd > ram: 0:00:08.486 / 3.9Gb/s
ram > ram: 0:00:08.032 / 4.1Gb/s
ram > sdd: 0:00:07.026 / 4.7Gb/s
Скрипт для теста ↗️
На моём железе прирост скорости ~2x. Плюс экономия ресурса SSD.
В Windows такой фишки по умолчанию нет, но обязательно найдутся аналогичные решения
#linux#triks
SEC Accepts Grayscale's DOGE ETF Application
The U.S. SEC has accepted Grayscale and NYSE's 19b-4 application for a DOGE ETF. This marks a significant step in the integration of Dogecoin into mainstream finance. Read more.
In other news, GameStop is considering an investment in Bitcoin and other cryptocurrencies while evaluating alignment with its business strategy. More details can be found here.
Coinbase reports over a 130% revenue surge, reaching $2.3 billion for Q4, exceeding expectations. Full report reveals strong market performance.
Additionally, Frodobots successfully raised $6M for a Solana-based robotics network. Learn more.
#DOGE#ETF#GameStop#Bitcoin#Crypto#Coinbase#Revenue#Solana#DeFi#AI # VC
Bitcoin and Ethereum ETF Trends
BTC ETF saw $157M outflow; ETH ETF gained $13M inflow. In 24 hours, 94K traders liquidated, totaling $169M, with the largest being $1.3M on Bybit for BTC/USDT. Notably, 4,135 #BTC ($399.8M) moved from #Coincheck to an unknown wallet. Gamestop plans to invest $4.6B in Bitcoin, raising its stock prices. Meanwhile, 1723HK shares surged 631% this year, naming new directors with Bitcoin ecosystem expertise.
#BTC#ETH#ETF#Crypto#Gamestop#Coincheck#WhaleAlert#HongKong#Investment#StockMarket#Trading#Liquidation#MarketTrends#Blockchain#Finance#Innovation#Directors#Performance#News#AI#VC
ETH Deposits Surge on Bybit
Aave's ETH supply surpassed 2M for the first time. Mirana Ventures deposited $600M worth of ETH into Bybit, becoming the largest depositor since the hack. The firm sold $500M in Bitcoin and $100M in USDT to fund this. In addition, $130M in USDT transferred to Tether Treasury. Significant BTC movements reported as well. Full details in the links: Arkham, The Block, Whale Alert USDT Transfer.
#ETH#Aave#Bybit#Crypto#USDT#BTC#MiranaVentures#DeFi#Arkham#Treasury#GameStop#SEC#Uniswap#AlgorithmicTrading#Blockchain#Investments#Bitcoin#WhaleAlert#Fintech#VC
Roaring Kitty Hints at Comeback
🐦 Roaring Kitty, a key figure in the GameStop stock surge, teases a return. His recent tweet features a video, sparking nostalgia and speculation about upcoming moves. Kitty symbolizes retail investor resistance against Wall Street, igniting the meme stock revolution in 2021.
🔗Roaring Kitty's tweet
🔗 Whale Alert: $102M in #BTC transferred Details here
🔗 Bithumb launches new ARDR & QKC trading Read more
#GameStop#RoaringKitty#memeStocks#BTC#Crypto#VC#RetailInvestors#WhaleAlert#SouthKorea#Trading#Bithumb#ARDR#QKC#Investing#MarketNews#Finance#Nostalgia#Tease#Speculation