host brain pain
Chapter 120
Chapter 120
As a professor and mentor, Zhang Ke was very satisfied with Su Xiaomu's erudition and prudence.
Holding the thermos cup in both hands, Zhang Ke was greedy for the scent of wolfberry + angelica soaked in water, pondered for a while, and said something off topic.
"I always feel like you haven't said something."
After saying that, he waved his hand again, obviously not wanting to go into details, and then said,
"Carefully selected algorithms can indeed achieve some of the effects that you just mentioned, such as greatly improving program performance and submitting processing efficiency, but, just like what you once said, algorithms will not be perfect. "
Zhang Ke slowly elaborated on some empirical and theoretical ideas based on his own experience and perspective.
“For example, when standing in line, sorting by height will appear neater. If there are many people with almost the same height standing in a line at first glance, it will undoubtedly make the queue look choppy.
At this time, only by standing at a higher place and making adjustments will it appear neat. What the algorithm needs to do is to perform such subtle processing. How to make such subtle processing more effective is one of the difficulties..."
"..."
Su Xiaomu nodded while thinking:
It's like someone always says that affection is not as good as long-term companionship, but they forget about love at first sight.
For example, Shang Siyu was the first to know Su Xiaomu, but now it is Lin Tang who has more opportunities to tease or do something else.
Reflecting on the Android file system manipulated by Su Xiaomu, the main contradiction is that no matter how many apps there are, no matter how they read and write storage space indiscriminately, the ultimate goal is to make this efficiency very efficient and not to freeze.
The development of Android phones has gone through many versions, and the hardware and system have undergone countless changes, but they can't always satisfy the infinite expansion of various APPs.
No matter how much high-end hardware is added, how many bugs are solved in the system, and how many modules are optimized, there will always be lag.
Aside from some additional factors, the reflection on the software level itself is that the response efficiency of the APP is not enough when reading and writing the storage space.
When the APP is opened, it must read the information of the APP itself, and it must go through a series of processes:
Access the corresponding directory of the storage space, read the data, feed back to the APP itself, and then display the content.
What Su Xiaomu wants to do is very simple, modify the file system to use a better data structure, so that the APP can respond more efficiently, and ultimately solve the big problem that has always existed, lagging.
"In this case, we must weigh the pros and cons first, and consider sacrificing part of the performance or efficiency." Su Xiaomu frowned slightly, subconsciously said.
He found that there is a reason why Android freezes. Everyone wants the ultimate performance and efficiency, as well as stability.
Between the two, weighing the pros and cons, you must sacrifice performance or efficiency in exchange for stability.
Thinking of this, Su Xiaomu almost lost all confidence.
Things that so many people in the world can't handle, can I, a college student, handle it?
If it wasn't for the fact that he was hooked and handsome, Su Xiaomu would really have given up.
Zhang Ke continued, "...Sacrifice is inevitable..."
Su Xiaomu added, "The idea of carefully selecting algorithms to make data structures better is definitely correct."
Tan Ling pushed up the glasses on the bridge of his nose, "Of course the idea is correct, but..."
Zhang Ke also expressed his opinion, "The design of the algorithm is like this, I always want to have the best of both worlds..."
When Su Xiaomu discussed something exciting with Zhang Ke and Tan Ling, Lin Tang said something.
"In terms of the algorithm of the data structure, Xiaomu, you seem to be better than us, right?"
Zhang Ke: "..."
I'd better drink my goji berry and angelica water, as I'm getting old, maintenance is important.
Tan Ling: "..." That's right, didn't we discuss algorithms before, why did we start playing tricks on everyone?
Su Xiaomu: "..."
"Thank you, professor, senior, I have gained a lot." Su Xiaomu thanked him with a smile.
The discussion was too excited, as if I had accidentally pretended to be aggressive.
Under great pressure, Su Xiaomu fled from the subject laboratory.
From the very beginning, Su Xiaomu never thought that Professor Zhang Ke or the seniors would be able to solve all his doubts. In terms of studies, he was full of strengths.
After all, he is a person who has driven and hung up.
Su Xiaomu just wanted to open up more ideas, so he gained a lot today.
First of all, Su Xiaomu basically cleared his mind.
The Android operating system is actually quite special. Although it is a free and open source operating system based on Linux; it runs on the Linux kernel (kernel), but it is not GNU/Linux. ①
On the contrary, in order to achieve commercial applications, Android also removes the part constrained by the GNU GPL (General License).
The file system of the Android system is still ext4 of Linux, but the partitions storing data have different file systems. Generally, /stroage/emulated (virtual SD card partition) on Android phones has two file systems:
fuse and sdcardfs.
However, the virtual SD card partition on Android phones is the storage space most frequently accessed by users, including apps.
As for why it is so troublesome, it is very simple to use a file system that only runs on the virtual SD card partition to access the actual ext4 file system:
Control the permissions of different APPs to access files.
The reason why Su Xiaomu wants to manipulate the file system is also very simple. If he wants to carry the banner of localization, he has to do it step by step. The file system happens to be an important core module, and the goal is a medium one.
Neither fuse nor sdcardfs are made in China, let alone ext4 on Linux...
…………
…………
After leaving the laboratory, Su Xiaomu walked back to Huabanli. The female creditor Su Ho sent a message saying that he would go home and cook.
Su Xiaomu, who was eager to open his mouth, immediately agreed.
He thought to himself, no wonder Suho didn't let him drive the car home in the morning, it turned out that he was already prepared.
The two just ran into each other in the elevator.
"Oh, who is this young lady? Why is she so beautiful?" Su Xiaomu raised her eyebrows and stepped forward to tease her.
All he had to do was hook Su Ho's chin and say, "Girl, make me smile."
Su Ho was not annoyed at all. He was even looking forward to this step. He smiled slightly and said, "Doesn't it look better when you smile?"
Su Xiaomu nodded repeatedly.
"Yes Yes Yes."
"Damn ghost, how dare you say you can't flirt with girls!" Su Ho rolled his eyes, wanting to kill Su Xiaomu, but he didn't tell the truth.
Su Xiaomu scratched his head, "Aren't you learning? Otherwise, I will always be criticized by you."
"Where did you learn it?" Su Ho's heart tightened.
Su Xiaomu cheered up, "It's not just your precepts and deeds..."
①: GNU: Free operating system, to the effect that users are free to operate the software and can modify and share it.
======
Broken Bowl, highly recommended, please vote for recommendation.
(End of this chapter)
As a professor and mentor, Zhang Ke was very satisfied with Su Xiaomu's erudition and prudence.
Holding the thermos cup in both hands, Zhang Ke was greedy for the scent of wolfberry + angelica soaked in water, pondered for a while, and said something off topic.
"I always feel like you haven't said something."
After saying that, he waved his hand again, obviously not wanting to go into details, and then said,
"Carefully selected algorithms can indeed achieve some of the effects that you just mentioned, such as greatly improving program performance and submitting processing efficiency, but, just like what you once said, algorithms will not be perfect. "
Zhang Ke slowly elaborated on some empirical and theoretical ideas based on his own experience and perspective.
“For example, when standing in line, sorting by height will appear neater. If there are many people with almost the same height standing in a line at first glance, it will undoubtedly make the queue look choppy.
At this time, only by standing at a higher place and making adjustments will it appear neat. What the algorithm needs to do is to perform such subtle processing. How to make such subtle processing more effective is one of the difficulties..."
"..."
Su Xiaomu nodded while thinking:
It's like someone always says that affection is not as good as long-term companionship, but they forget about love at first sight.
For example, Shang Siyu was the first to know Su Xiaomu, but now it is Lin Tang who has more opportunities to tease or do something else.
Reflecting on the Android file system manipulated by Su Xiaomu, the main contradiction is that no matter how many apps there are, no matter how they read and write storage space indiscriminately, the ultimate goal is to make this efficiency very efficient and not to freeze.
The development of Android phones has gone through many versions, and the hardware and system have undergone countless changes, but they can't always satisfy the infinite expansion of various APPs.
No matter how much high-end hardware is added, how many bugs are solved in the system, and how many modules are optimized, there will always be lag.
Aside from some additional factors, the reflection on the software level itself is that the response efficiency of the APP is not enough when reading and writing the storage space.
When the APP is opened, it must read the information of the APP itself, and it must go through a series of processes:
Access the corresponding directory of the storage space, read the data, feed back to the APP itself, and then display the content.
What Su Xiaomu wants to do is very simple, modify the file system to use a better data structure, so that the APP can respond more efficiently, and ultimately solve the big problem that has always existed, lagging.
"In this case, we must weigh the pros and cons first, and consider sacrificing part of the performance or efficiency." Su Xiaomu frowned slightly, subconsciously said.
He found that there is a reason why Android freezes. Everyone wants the ultimate performance and efficiency, as well as stability.
Between the two, weighing the pros and cons, you must sacrifice performance or efficiency in exchange for stability.
Thinking of this, Su Xiaomu almost lost all confidence.
Things that so many people in the world can't handle, can I, a college student, handle it?
If it wasn't for the fact that he was hooked and handsome, Su Xiaomu would really have given up.
Zhang Ke continued, "...Sacrifice is inevitable..."
Su Xiaomu added, "The idea of carefully selecting algorithms to make data structures better is definitely correct."
Tan Ling pushed up the glasses on the bridge of his nose, "Of course the idea is correct, but..."
Zhang Ke also expressed his opinion, "The design of the algorithm is like this, I always want to have the best of both worlds..."
When Su Xiaomu discussed something exciting with Zhang Ke and Tan Ling, Lin Tang said something.
"In terms of the algorithm of the data structure, Xiaomu, you seem to be better than us, right?"
Zhang Ke: "..."
I'd better drink my goji berry and angelica water, as I'm getting old, maintenance is important.
Tan Ling: "..." That's right, didn't we discuss algorithms before, why did we start playing tricks on everyone?
Su Xiaomu: "..."
"Thank you, professor, senior, I have gained a lot." Su Xiaomu thanked him with a smile.
The discussion was too excited, as if I had accidentally pretended to be aggressive.
Under great pressure, Su Xiaomu fled from the subject laboratory.
From the very beginning, Su Xiaomu never thought that Professor Zhang Ke or the seniors would be able to solve all his doubts. In terms of studies, he was full of strengths.
After all, he is a person who has driven and hung up.
Su Xiaomu just wanted to open up more ideas, so he gained a lot today.
First of all, Su Xiaomu basically cleared his mind.
The Android operating system is actually quite special. Although it is a free and open source operating system based on Linux; it runs on the Linux kernel (kernel), but it is not GNU/Linux. ①
On the contrary, in order to achieve commercial applications, Android also removes the part constrained by the GNU GPL (General License).
The file system of the Android system is still ext4 of Linux, but the partitions storing data have different file systems. Generally, /stroage/emulated (virtual SD card partition) on Android phones has two file systems:
fuse and sdcardfs.
However, the virtual SD card partition on Android phones is the storage space most frequently accessed by users, including apps.
As for why it is so troublesome, it is very simple to use a file system that only runs on the virtual SD card partition to access the actual ext4 file system:
Control the permissions of different APPs to access files.
The reason why Su Xiaomu wants to manipulate the file system is also very simple. If he wants to carry the banner of localization, he has to do it step by step. The file system happens to be an important core module, and the goal is a medium one.
Neither fuse nor sdcardfs are made in China, let alone ext4 on Linux...
…………
…………
After leaving the laboratory, Su Xiaomu walked back to Huabanli. The female creditor Su Ho sent a message saying that he would go home and cook.
Su Xiaomu, who was eager to open his mouth, immediately agreed.
He thought to himself, no wonder Suho didn't let him drive the car home in the morning, it turned out that he was already prepared.
The two just ran into each other in the elevator.
"Oh, who is this young lady? Why is she so beautiful?" Su Xiaomu raised her eyebrows and stepped forward to tease her.
All he had to do was hook Su Ho's chin and say, "Girl, make me smile."
Su Ho was not annoyed at all. He was even looking forward to this step. He smiled slightly and said, "Doesn't it look better when you smile?"
Su Xiaomu nodded repeatedly.
"Yes Yes Yes."
"Damn ghost, how dare you say you can't flirt with girls!" Su Ho rolled his eyes, wanting to kill Su Xiaomu, but he didn't tell the truth.
Su Xiaomu scratched his head, "Aren't you learning? Otherwise, I will always be criticized by you."
"Where did you learn it?" Su Ho's heart tightened.
Su Xiaomu cheered up, "It's not just your precepts and deeds..."
①: GNU: Free operating system, to the effect that users are free to operate the software and can modify and share it.
======
Broken Bowl, highly recommended, please vote for recommendation.
(End of this chapter)
You'll Also Like
-
Live broadcast of popular science about SCP! The country is crazy about it!
Chapter 175 5 hours ago -
People are writing diaries on the collapse of iron, black silk is rich, please respect yourself
Chapter 173 5 hours ago -
I’m in the Mist, the system made me a navy
Chapter 86 5 hours ago -
Swallowed Star: Six Eyes
Chapter 336 5 hours ago -
Entertainment Empire
Chapter 945 5 hours ago -
Infected with the undead disease, he had to specialize in suicide magic
Chapter 267 5 hours ago -
He favored his concubine and I cut off my wealth. Everyone in the mansion was in a panic.
Chapter 164 5 hours ago -
Bat Fight Simulator
Chapter 320 5 hours ago -
Killing System, the Ultimate Killer
Chapter 322 5 hours ago -
Start with Island Lord
Chapter 337 5 hours ago