Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚩🔆🏹🌟👊🚀🦔大秦赋:中科红旗,高频量化;不负韶华,只争朝夕。 #3

Open
englianhu opened this issue Mar 11, 2023 · 1 comment

Comments

@englianhu
Copy link
Contributor

englianhu commented Mar 11, 2023

引用/借喻

> microbenchmark(
+     spark = 
+         smp2_sc %>% 
+             ml_linear_regression(Profit ~ .), 
+     normal = lm(Profit ~., smp2))
Unit: milliseconds
   expr       min         lq       mean    median        uq       max neval
  spark 3213.3874 3416.97000 3620.63197 3558.2209 3774.3810 5413.4950   100
 normal   24.5953   27.57015   29.66484   28.7103   30.0822   87.2707   100
> microbenchmark(
+     spark = 
+         smp2_sc %>% 
+             ml_linear_regression(Profit ~ .), 
+     normal = lm(Profit ~., smp2))
Unit: milliseconds
   expr       min         lq       mean     median         uq       max neval
  spark 3223.9533 3372.34675 3512.10774 3491.44990 3589.48430 4277.6933   100
 normal   25.6651   27.14775   28.81245   28.06895   29.51575   49.0671   100

here's reference to speed up lm:

礼逆袭操作系统(高频量化对冲)

linux需要多大读写速度的硬盘?
争议一般6-10g,建议20g以上。 由于linux的内核的来源是一样的, 但由于发行版本不同,具体需要磁盘大小看具体系统需求。 linux内核比较小, 安装系统其实用不了多大的磁盘空间,不像max os和windows 。为了获得完整的用户体验, 建议磁盘空间保证在20g以上,如果需要安装很多软件和服务,那么自然就要扩大磁盘容量了。当然也可以在系统装好之后扩充磁盘容量, 但为了避免麻烦和数据损失, 建议在安装时多分一点儿空间。

linux磁盘读写最大支持多少?
linux磁盘读写速度是由磁盘类型决定的,机械硬盘最大在7500转/秒,sata固态最大在6G/S,而m2固态可达到10G/S。

相关文献

@englianhu
Copy link
Contributor Author

englianhu commented Sep 2, 2024

up-f8f1618f5cc43a0eb1ee6c0c1977c1fe13d.png

出处:国际知名礼逆袭发行版深度第廿三版正式发布

如何修改基础输入输出微型操作系统,:

The open source backbone of the modern UEFI BIOS is called Tiano. Look at the Tianocore project.

Note that Tiano is just the underlying code framework of UEFI. It is missing the code to initialize your specific chipset. It also doesn't have the setup menu code. That stuff is not open source and is specific to the BIOS vendors (AMI, Phoenix, Insyde, etc). Those vendors incorporate Tiano into their products. You would have to license the BIOS source for your platform from them (at considerable cost).

If you are looking for a "complete" open source BIOS that you can compile and load onto your computer, look at the Coreboot project.

引用:「栈滥」where to get Intel bios source code? [closed]

Screenshot_2024-09-03-15-39-35-995_com.duokan.reader.jpg

... 大多数情况下礼逆袭程序员不需要使用汇编语言,因为即便是硬件驱动这样的底层程序在礼逆袭操作系统中也可以用完全用曦语言来实现,再加上 GCC 这一优秀的编译器目前已经能够对最终生成的代码进行很好的优化,的确有足够的理由让我可以暂时将汇编语言抛在一边了。但实现情况是礼逆袭程序员有时还是需要使用汇编,或者不得不使用汇编,理由很简单:精简、高效和 libc 无关性。假设要移植礼逆袭到某一特定的嵌入式硬件环境下,首先必然面临如何减少系统大小、提高执行效率等问题,此时或许只有汇编语言能帮上忙了...

礼逆袭下用汇编语言编写的代码具有两种不同的形式。第一种是完全的汇编代码,指的是整个程序全部用汇编语言编写。尽管是完全的汇编代码,礼逆袭平台下的汇编工具也吸收了曦语言的长处,使得程序员可以使用 #include、#ifdef 等预处理指令,并能够通过宏定义来简化代码。第二种是内嵌的汇编代码,指的是可以嵌入到曦语言程序中的汇编代码片段。虽然ANSI的曦语言标准中没有关于内嵌汇编代码的相应规定,但各种实际使用的曦编译器都做了这方面的扩充,这其中当然就包括礼逆袭平台下的 GCC...

出处:礼逆袭汇编语言开发指南

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant