В 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
🚀 Binance Wallet Launches USDD Season 5 with $1 Million Reward Pool
Binance Wallet announced on X the launch of the fifth season of its USDD activity, offering participants a chance to share in a $1 million reward pool. Users can participate by subscribing to the USDT-sUSDD strategy through Binance Wallet, with a minimum subscription of 100 USDT required to qualify for the enhanced annual interest rate rewards.
This initiative provides an opportunity for users to benefit from increased returns on their digital assets. By engaging in this strategy, participants can potentially enhance their earnings through the elevated interest rates offered during this promotional period. The activity underscores Binance Wallet's commitment to providing value-added opportunities for its users, encouraging active participation in its financial products.
The USDD Season 5 activity is part of Binance Wallet's ongoing efforts to engage its community with rewarding financial strategies. Participants are encouraged to stake their assets promptly to take advantage of the enhanced interest rates available during this event. This initiative reflects Binance Wallet's dedication to offering competitive financial products and fostering user engagement through innovative reward programs.
#Binance#USDD#Cryptocurrency#CryptoRewards#DigitalAssets#DeFi#Staking#Finance#Blockchain#Investment
🚀 USDD Withdraws $109 Million USDT from Spark Platform
USDD, under the leadership of Sun Yuchen, has recently withdrawn 109 million USDT from the lending platform Spark. According to ChainCatcher, this amount was subsequently added to USDD's PSM pool. Currently, the available liquidity for exchanging USDD to USDT stands at $42 million.
#USDD#SunYuchen#USDT#SparkPlatform#PSM#Liquidity#Crypto
CME Launches Solana Futures on March 17
CME Group, the largest derivatives exchange, plans to launch cash-settled Solana (SOL) futures on March 17, 2025, pending regulatory approval. The offering will include micro contracts (25 SOL) and standard contracts (500 SOL) to attract both retail and institutional traders, aiming to enhance market legitimacy and liquidity. This follows a 73% growth in crypto trading volume. Additionally, several futures-based ETFs linked to Solana await SEC approval. Market responses and regulatory decisions are critical as the launch date approaches.
Read more: CME Group News
#CME#Solana#Futures#Crypto#ETFs#SEC#TradFi#MicroContracts#InstitutionalInvestors#Volatility#Liquidity#MarketLegitimacy#BTC#ETH#SOL#Investment#Trading#MarketTrends#CryptoVolume#USDD#WhaleAlert