В 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
Bitcoin and Ethereum ETF Outflows Report
On February 21, Bitcoin spot ETFs saw a net outflow of $62.77M, while BlackRock's ETF IBIT experienced a net inflow of $21.64M. Additionally, Ethereum spot ETFs recorded a net outflow of $8.92M. Read more here.
#Bitcoin#Ethereum#ETF#Crypto#Investment#Finance#BlackRock#MarketTrends#Outflows#Inflows#FinanceNews#Blockchain#WuBlockchain#DigitalAssets#SpotETF#Cryptocurrency#Trading#MarketAnalysis#Funds#Assets
Bitcoin ETFs Face Nearly $1B Outflows
Bitcoin ETFs experience record outflows nearing $1 billion. In 2023, all crypto sectors underperform compared to Bitcoin, with AI frameworks down 84%, agent projects 70%, and more. SEC acknowledges NYSE Arca's filing for Grayscale Ethereum ETF staking. Meanwhile, Bybit hackers have laundered 45,900 ETH ($113M) in 24 hours, totaling 135,000 ETH ($335M) to date, with more expected to be laundered soon.
#Bitcoin#ETH#Crypto#NFT#SEC#Grayscale#Bybit#Hacking#Market#AI#AgentProjects#Memecoins#Gamefi#DelphiDigital#VC#Outflows#BlockChain#Finance#Investments#DeFi#Web3
Crypto Outflows Reach $508M Amid Caution
Digital asset investment products experienced significant outflows of $508 million as investors react cautiously to uncertainties following the US Presidential inauguration. Influencing factors include market volatility surrounding trade tariffs, inflation, and monetary policy adjustments.
Read more: Unfolded
#Crypto#Investment#USPolitics#MarketVolatility#Inflation#MonetaryPolicy#DigitalAssets#DeFi#Ethereum#Trading#Finance#Economics#Outflows#Blockchain#Investors#Caution#RiskManagement#CryptoNews#MarketTrends#AssetManagement
Crypto Market Faces Severe Downturn
1️⃣ BTC inflow to exchanges hits annual high amidst panic. Price dropped below $90,000, triggering massive sell-offs.
2️⃣ Fear & Greed Index plunges to extreme fear (25), signaling anxiety in crypto markets.
3️⃣ BTC holders recorded losses of $1.73 billion, marking the highest since August 2024.
4️⃣ ETF funds faced major outflows totaling $1.01 billion, a record since launch.
5️⃣ Meme coins like Dogecoin and Shiba Inu drop significantly, as market saturation affects their traction.
6️⃣ New AI-meme project MIND of Pepe raises $6.8 million, distinguishing itself with functional AI integration.
7️⃣ Ethereum Foundation pledges $1.25 million for legal defense of Tornado Cash developer.
📈More Details on Bitcoin Rally Potential
🔗Ethena Stablecoin Investment
🔗Optifye Startup Controversy
#Crypto#BTC#ETH#MemeCoins#AI#MarketTrends#Investments#Outflows#FearAndGreed#Blockchain#Saturation#MarketAnalysis#DeFi#Ethereum#TornadoCash#VC#WhaleAlert#YCombinator#Optifye#MINDofPepe