В 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
📖🇪🇺 The AI Act: A Strategic Focus on SMEs
According to a summary from the Future of Life Institute the AI Act places significant emphasis on small and medium-sized enterprises (SMEs), mentioning them 38 times—far more than ‘industry’ (7) or ‘civil society’ (11). This focus translates into concrete measures: SMEs will receive priority access to regulatory sandboxes, benefit from proportional compliance costs, and have dedicated channels for guidance.
To further ease compliance, the Act introduces simplified technical documentation, SME-specific training, and tailored obligations under the Code of Practice. With these provisions, the EU aims to ensure that AI innovation remains accessible and sustainable for smaller businesses.
#AIAct#SMEs#AIRegulation#ResponsibleAI
#Opinion: Cost of Modernizing Addis: When progress pushes small businesses out
In recent years, #Ethiopia is undergoing rapid transformation, with digitalization expanding across daily life and #Addis_Abeba experiencing one of its most ambitious urban overhauls. However, Abraham Abebe Asfaw argues in this opinion piece that such ambition risks overwhelming the small and medium enterprises (#SMEs) that employ roughly 70% of the urban population.
He explains that tens of thousands of businesses are cancelling their licenses. This issue extends beyond tax compliance, as the combined pressures of taxation, informal payments, and displacement have eliminated the “margin that allowed firms to survive.”
Abraham emphasizes that “ignoring this distress is costly” and cautions that “development without guardrails risks becoming extractive rather than enabling.”
https://addisstandard.com/?p=54697
Meeting agenda: meeting Miffy? 😲
Follow along Yi Qing as she represents IRAS on the international stage in Utrecht, the Netherlands - the hometown of Miffy! 🐰
At the OECD FTA Community of Interest on Small and Medium Enterprises meeting, she connected with international peers to share experiences and perspectives. The discussions covered important ground in advancing tax administration, from strengthening digital ecosystems to e-invoicing and AI applications. These valuable insights are useful to inspire and shape IRAS' transformation journey ahead.
Explore your opportunities at IRAS today at go.gov.sg/lifeatiras
#fyp#tiktoksg#lifeatiras#SMEs#miffy
🚀 WeChat Pay Launches AI Integration Toolbox for Seamless Payment Solutions
WeChat Pay has officially introduced an AI-native integration toolbox designed to offer merchants and developers a streamlined payment integration solution. According to ChainCatcher, this toolbox facilitates the rapid generation of payment function code through natural language commands.
The toolbox comprises Skill packages, AI-friendly documentation, and APIs, enabling one-click calls in mainstream AI development environments. Its 'verbal code generation' feature significantly reduces the development process from days to minutes, allowing quick integration of over 20 functions, including mini-program payments, H5 payments, refunds, and profit-sharing.
Additionally, the toolbox includes AI diagnostic capabilities that automatically identify code logic issues and provide suggestions for fixes, minimizing financial and system risks during integration. It also supports interface troubleshooting and legacy code upgrades for existing system developers. This upgrade further advances the standardization and AI adaptation of payment capabilities, lowering the digital business barriers for small and medium-sized enterprises.
#WeChatPay#AIintegration#PaymentSolutions#Developers#Merchants#AItoolbox#CodeGeneration#DigitalBusiness#SMEs#TechInnovation#PaymentAPI#Automation#SystemUpgrade
🚀 Trident Digital Tech Holdings Partners with Ripple Strategy for African Expansion
Trident Digital Tech Holdings, a Nasdaq-listed company, has announced a strategic partnership with Ripple Strategy Holding. According to Foresight News, Ripple Strategy will provide RLUSD stablecoin technology and payment infrastructure to support Trident's business expansion in the African market.
Under the agreement, Trident plans to develop a blockchain-based tax settlement and reporting system for approximately 2.1 million small and medium-sized enterprises in Ghana. Additionally, the company aims to establish an RLUSD/GHS liquidity pool to create a low-cost, real-time foreign exchange market, facilitating 24/7 cross-border payments.
Trident has previously formed a 50/50 joint venture with local institutions in Ghana, with a stablecoin business pilot scheduled to commence by mid-2026.
#TridentDigitalTech#RippleStrategy#AfricaExpansion#Stablecoin#Blockchain#SMEs#Ghana#ForeignExchange#CrossBorderPayments#RLUSD#Nasdaq#TechPartnership#PaymentInfrastructure#BlockchainTaxSystem#LiquidityPool#XRP