由买买提看人间百态

topics

全部话题 - 话题: kernel
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
i*********e
发帖数: 90
1
向高手请教一个kernel/driver programming的问题:我要做一个改编wireless driver
的东西,第一步就是要控制发包的时间,具体来说就是类似于TDMA,让用户在预定的时
刻发包。目前使用的driver是80211的(madwifi),需要改:
1。 纪录每一个包到达的时间;
2。在预定时刻发包;
请问这两部如何实现呀?我现在都不清楚如何记录一个包到达的时间。大家帮我看看吧
t****t
发帖数: 6806
2
Q1. This is not about kernel programming; this is "system call". Common Unix
system calls are mostly portable, by conforming to various standards (e.g.
POSIX).
For your specific question: Parent and child process has their separate file
descriptor, but their "open file description", which is system-wide, are
shared. You may think each pair of descriptors are cloned via dup(2). That
means, they have the same file offset, the same I/O attributes. However,
they may be "closed" separately, as I unde
S**Y
发帖数: 136
3
I am reading threads, and don't understand the thread-mapping model
why do we need to map user level threads to kernel threads anyway?
who can say say? thanks!
S**Y
发帖数: 136
4
thanks, thinking pig...
yes. u understood me.
i still dont understand "so there
why can't the CPU directly schedule the user threads instead of mapping them
to a kernel thread? why do we need this mapping?
Thanks.
S**Y
发帖数: 136
5
thanks...
does it mean that, no matter what, a user level thread has to be attached(bo
und) to a kernel thread to be scheduled? therefore, there are m:1, 1:1, m:n
models?
w*s
发帖数: 7227
6
in windows, event can be created in kernel, and user app can wait for it.
how about linux ?
k***5
发帖数: 583
7
If you know the user application process ID, you can send signal to it from
both kernel and user space.
t**r
发帖数: 3428
8
需要网卡 load kernel module支持。
然后在userspace 处理ip packets.
根据需求做routing.
技术不难做起来很繁琐的
c****e
发帖数: 1453
9
kernel bypassing networking是说RDMA? 这个要网卡支持。
l***d
发帖数: 396
10
【 以下文字转载自 JobHunting 讨论区 】
发信人: liuyd (...), 信区: JobHunting
标 题: 去uber,airbnb这些公司工作要不要看linux kernel?
发信站: BBS 未名空间站 (Tue Mar 10 13:57:45 2015, 美东)
如果想看一些书,不是为了刷题面试,就是为了提高自己,应该看什么书,对于在
startup工作有帮助?
T******7
发帖数: 1419
11
kernel要会,怎么也得有30个以上的patches merge进linus tree.
s******u
发帖数: 501
12
网卡不处理ping,这个由network stack在kernel处理,然后再通过网卡发送response
packet回去
f********3
发帖数: 20
13
这些kernel的数值(weights)都是随机初始化并在网络训练中不断update的,通常不需
要人为设置。不过你可以选择初始化方式(uniform,normal。。。)
T********r
发帖数: 6210
14
I have "Solaris Internals: Core Kernel Components"
s*******y
发帖数: 558
15
如果给出一个multivarite kernel density function
怎么可以把每个local minima都求出来阿
如果exact的minima不可能找到 approximation也可以
f*******e
发帖数: 65
16
我不是数学专业的,最近看到网上有人说reproducing kernel hilbert space非常有用
,谁能给举几个例子?谢谢
r**a
发帖数: 536
17
来自主题: Quant版 - Heat Kernel Expansion
你在讲什么呀?通过变换small time 可以很容易变成large time。heat kernel
expansion 的核心是展开量必须小。展开量可以是时间本身,也可以是时间的倍数或者
函数。你要能发明一种方法不用假设展开量很小的话,你可以考虑拿诺奖了。物理里面
近百年的量子理论全部依赖于这个。
r**a
发帖数: 536
L*******t
发帖数: 2385
19
来自主题: Quant版 - Heat Kernel Expansion
大牛不愧是在业界工作,这些书我都买不起啊。。。但是我很想读一下你给的这本书
等我完成论文了一定把链接发到这里。欢迎大家批评指正!

:你读过
https://www.amazon.com/Heat-Kernel-Method-its-Applications/dp/3319262653
B****n
发帖数: 11290
20
你應該先問普通kernel density estimator的bandwidth和n的關係
然後bootstrap 的sample需要比較大一點的bandwidth 因為standard bootstrap
是取完放回再抽 因此要smooth的時候 需要比原來的sample大的window
h***i
发帖数: 3844
21
那是不是说
standard bootstrap 和bootstrap from kernel density estimator with bandwidth
=n^{-1/2} 是一码事?
多谢,想破头了,实在是愚钝
这是for quantile variance
我翻了些paper, 比如 Angelis 和 Young的文章,没理出头绪
d*******1
发帖数: 854
22
来自主题: Statistics版 - 怎样决定用什么distribution做kernel
有一堆sample data,做了个histogram, 很像normal distribution, 但是好像两边的
tail不太平衡。 请问选什么distribution比较好呢? 怎样决定什么样的kernel比较
合适呢?
D******n
发帖数: 2836
23
来自主题: Statistics版 - 怎样决定用什么distribution做kernel
kernel has nothing to do with that,
h***i
发帖数: 3844
24
来自主题: Statistics版 - Kernel Density Estimation
你这是多维的,要先把直线变成vector,比如用functional data之类的,工具自选
然后再用multivariate kernel去弄,觉得很无聊
o******e
发帖数: 1001
25
来自主题: Statistics版 - Kernel Density Estimation
多谢指点!能讲的稍微详细一点吗?我对Kernel Density Estimation 没有多少概念。
b********r
发帖数: 37
26
来自主题: DataSciences版 - 怎么表达kernel density estimation
大牛,你怎么解释kernel density estimation?
f****5
发帖数: 46
27
the difference between Logistic Regression and Linear Kernel SVMs, PCA vs.
Matrix Factorization, regularization, or gradient descent.
thanks
n***a
发帖数: 18
28
来自主题: _AromaTherapy版 - Apricot Kernel Oil
Thank you so much. Yesterday when I went to GNC, I saw their Apricot Kernel
Oil is on sale. maybe that is because it is near to their due date :(.

it
shelf
in
types,
is
w******n
发帖数: 74
29
【 以下文字转载自 PDA 讨论区 】
发信人: libralibra (soso), 信区: PDA
标 题: Re: GOOG为什么不把ANdroid封闭起来做硬件?
发信站: BBS 未名空间站 (Sun Oct 9 14:25:00 2011, 美东)
想收随时都可以吧,本来开放力度也不大,google只是用它来争夺市场,商业公司的手段而已.
"谷歌3月初突然终于收网,占有率达29%的Android 开源变闭源。Android 3.0只给授权用户,协议条款包括OEM放弃修改API, 放弃建设软件商店等。海外九大OEM被迫签订协议,国内尚未有OEM获得授权。"
前几天看到有人问tp为什么把很多东西放在userspace跑,而不是kernel,看看网友的这篇blog就明白了
================
我也曾经对Android充满了期待,但是后来的事态发展,令我改变了看法。前几天,我就在网志上写了自己的担忧:“首先,Android应用程序只能用java语言开发。其次,Google对Android采用了一种全面霸权式的管理,完全不是其他开源软件的开发方式,一切都由Googl... 阅读全帖
l*********l
发帖数: 830
30
众文科女ID们, 让你的以理工背景洋洋自得的 significant other 刮目相看的机会来了,熟读此文,有惊喜
这是个后jobs时代影响深远的话题
【 以下文字转载自 PDA 讨论区 】
发信人: libralibra (soso), 信区: PDA
标 题: Re: GOOG为什么不把ANdroid封闭起来做硬件?
发信站: BBS 未名空间站 (Sun Oct 9 14:25:00 2011, 美东)
想收随时都可以吧,本来开放力度也不大,google只是用它来争夺市场,商业公司的手段而已.
"谷歌3月初突然终于收网,占有率达29%的Android 开源变闭源。Android 3.0只给授权用户,协议条款包括OEM放弃修改API, 放弃建设软件商店等。海外九大OEM被迫签订协议,国内尚未有OEM获得授权。"
前几天看到有人问tp为什么把很多东西放在userspace跑,而不是kernel,看看网友的这篇blog就明白了
================
我也曾经对Android充满了期待,但是后来的事态发展,令我改变了看法。前几天,我就在网志上写了自己的担忧:“首先,A... 阅读全帖
j*a
发帖数: 14423
31
来自主题: Programming版 - C10M 练习 step 1: 10M sockets
kernel: Mem-Info:
kernel: [] system_call_fastpath+0x1a/0x1f
kernel: [] ? page_fault+0x28/0x30
kernel: [] SyS_socket+0x5c/0xa0
kernel: [] sock_alloc_file+0x52/0x130
kernel: [] d_alloc_pseudo+0xe/0x20
kernel: [] __d_alloc+0x25/0x180
kernel: [] ? tcp_v4_init_sock+0x12/0x30
kernel: [] kmem_cache_alloc+0x227/0x280
kernel: [] ? inet_... 阅读全帖
S*A
发帖数: 7142
32

你的 router 稳定的话, WDS 两个 router wifi 速度如何不稳定?
tomato 用闭源的 wl 驱动,特别老的内核。我没有兴趣玩。
wl 驱动的问题多多,你要我现在贴个 kernel dump 出来,
就是你最爱的 wl 必源驱动。最新的 broamcomm 官方下载的。
你来看看?
Oct 31 17:15:09 mba.localdomain kernel: WARNING: CPU: 2 PID: 642 at net/
wireless/sme.c:791 cfg80211_roamed+0x89/0x90 [cfg80211]()
Oct 31 17:15:09 mba.localdomain kernel: Modules linked in: arc4 ppp_mppe ppp
_async crc_ccitt ppp_generic slhc rfcomm fuse nf_conntrack_netbios_ns
Oct 31 17:15:09 mba.localdomain kernel: lpc_ich i2c_i801 mfd_core ... 阅读全帖
w*******t
发帖数: 960
33
来自主题: Linux版 - ubuntu这个崩溃法什么原因?
看下面log,倒是第二行是机器最后手动重启前的最后一条记录
系统其实是ubuntu的变种 mint 17
kernel 3.16
cpu j1900
这种情况是不是该upgrade kernel?多谢
==========================================================================
Nov 6 22:16:29 JCC-File kernel: [ 26.152724] usbcore: registered new
interface driver xpp_usb
Nov 6 17:24:51 JCC-File kernel: [ 4136.499882] perf interrupt took too long
(2555 > 2500), lowering kernel.perf_eve$
Nov 6 18:27:52 JCC-File kernel: [ 7924.561172] perf interrupt took too long
(5012 > 5000), lowering kernel.perf_e... 阅读全帖
S**I
发帖数: 15689
34
来自主题: JobHunting版 - [合集] 面经+一点个人体会
☆─────────────────────────────────────☆
yuhanlin (Yuhan) 于 (Mon Aug 29 00:18:17 2011, 美东) 提到:
周五面完最后一个onsite, 累的惨兮兮的, 好容易爬回家. 不管结果如何, 这段时间找
工作算是告一段落了.
下面把这段时间面试中被问到的题目整理一下, 供大家参考. 我也就不说具体是那些公
司了, 都是很典型的面试题, 到哪里都有可能会被问到.
* implement memcpy? How to improve? how to determine if a system is
32bit or 64bit?
* how is static keyword used in Java?
* a list of intervals, no overlapping and sorted, write a function to
insert an interval into the list and still keep the list sorted and no
overlapping.... 阅读全帖
x*********s
发帖数: 5554
35
来自主题: Apple版 - mbp-13求诊断
09年中的macbook pro -13今天接连出现两次问题,求诊断。
电源线连笔记本的接口处,电源线上的指示灯时亮时不亮,拔掉电源线,重新连接的时
候,
笔记本黑屏,啥都没有反应。长按电源,笔记本正常开机,但时间回退到2000年xy月x
日,
需要重新设置时间。
一个晚上两次发生这种事情。
ps
看/var/log/kernel.log,关机前后的那一段是这样的:
Dec 9 22:17:14 macyy kernel[0]: hfs: Runtime corruption detected on Time
Machine Backups, fsck will be forced on next mount.
Dec 9 22:17:14 macyy kernel[0]: disk3s2: 0x14 (UNDEFINED).
Dec 9 22:17:14 macyy kernel[0]:
Dec 9 22:17:14 macyy kernel[0]: disk3s2: 0x14 (UNDEFINED).
Dec 9 22:17:14 macyy kernel[0]: dis... 阅读全帖
m***i
发帖数: 213
36
机器:zotac zbox id 82 plus,
主板:Intel HM65 express,
硬盘 Samsung 250G SSD, seagate 250G SSD,
dmesg:
linux安装程序遇到这个错误,相信相关的输出是这几行:
WARNING kernel:ata1.00: link is slow to respond, please be patient (ready=-
19)
ERR kernel:ata1.00: SRST failed(errno=-16)
WARNING kernel:ata1.00: link is slow to respond, please be patient (ready=-
19)
ERR kernel:ata1.00: SRST failed(errno=-16)
WARNING kernel:ata1.00: link is slow to respond, please be patient (ready=-
19)
ERR kernel:ata1.00: SRST failed(errno=-16)
WARNING... 阅读全帖
l******h
发帖数: 2
37
Highly reputational company with very competitive compensation for all
positions.
Please send in your resume and position/positions you like to apply to my
email address below.
h*******[email protected]
All resumes will be deliver to hiring manager directly. Act fast!
Thanks!
Silicon Engineering Group
Sr. Physical Design Timing Engineer
Timing (STA) Manager
Senior Physical Design Engineer
CAD Manager - Front-End Design and Verification
Sr. CAD Engineer - Place & Route / Physical Design Engineer
Sr. CA... 阅读全帖
l******h
发帖数: 2
38
Highly reputational company with very competitive compensation for all
positions.
Please send in your resume and position/positions you like to apply to my
email address below.
h*******[email protected]
All resumes will be deliver to hiring manager directly. Act fast!
Thanks!
Silicon Engineering Group
Sr. Physical Design Timing Engineer
Timing (STA) Manager
Senior Physical Design Engineer
CAD Manager - Front-End Design and Verification
Sr. CAD Engineer - Place & Route / Physical Design Engineer
Sr. CA... 阅读全帖
d**y
发帖数: 32
39
来自主题: Immigration版 - EE方向审稿(面容识别)
请有兴趣且方向适合的站内联系,请附上姓名及研究方向、发表文章等简要介绍。谢谢。
"Efficient Kernel-based 2DPCA for Smile Stages Recognition"
Abstract
Recently, an approach called two-dimensional principal component analysis
(2DPCA) has been proposed for smile stages representation and recognition.
The essence of 2DPCA is that it computes the eigenvectors of the so-called
image covariance matrix without matrix-to-vector conversion so the size of
the image covariance matrix are much smaller, easier to evaluate covariance
matrix, computat... 阅读全帖
O*******d
发帖数: 20343
40
来自主题: Hardware版 - GPU computing比CPU快几倍?
if-else的杀伤力到底有多大,我也不是很知道。 我读过的材料,一般都说要保持
kernel的code小,复杂度要低,最好是直接运算,不要把时间花在条件判断上。 如果
你要在kernel里运行循环,如果循环的次数是compile time已知的,最好把循环展开,
而不是每次要判断循环的次数。
适合GPU的数学问题,一般需要把复杂问题分解成独立的小单元。 如果每个单元比较复
杂,还需要进一步分解。 例如,给出一个一维函数值,给每个点做一个三次方插值,
给插的值赋予颜色,再把相邻的两个颜色做平均。 你需要写三个kernel function。
第一个做插值,第二个做赋予颜色,第三个做颜色平均。 每个kernel做的事情比较简
单。 用GPU把这三个kernel串联扫过去,每扫一次kernel时,例如插值,需要把插值
kernel在全部数值上完成,才走下一个kernel。 当然你需要考虑边界数值的问题,例
如在index是0时,或index是最大值时,插值的算法不太一样, 不要在kernel里考虑边
界值,只把非边界的数值送到GPU去计算,边界值用普通CPU来计算,这样你可以减少if
-e... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)